diff options
author | Diego Silva <diego.silva@live.com> | 2019-05-04 10:11:06 +0100 |
---|---|---|
committer | Diego Silva <diego.silva@live.com> | 2019-05-09 16:54:20 +0100 |
commit | 091b15b7421374df4e06bfdb91bef6a0c36072cf (patch) | |
tree | 9326d025e1a1e356f28847f698fcd9751f986364 /app/models | |
parent | 389de5e1e49f19ecdcad72992cfe8884b9fc7e60 (diff) | |
download | gitlab-ce-091b15b7421374df4e06bfdb91bef6a0c36072cf.tar.gz |
Change DetectRepositoryLanguagesWorker to not receive user
Fixes #60425
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index be17b54ff12..1c02e68f2f6 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -465,7 +465,7 @@ class Repository def after_import expire_content_cache - DetectRepositoryLanguagesWorker.perform_async(project.id, project.owner.id) + DetectRepositoryLanguagesWorker.perform_async(project.id) end # Runs code after a new commit has been pushed. |