summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorDiego Silva <diego.silva@live.com>2019-05-04 10:11:06 +0100
committerDiego Silva <diego.silva@live.com>2019-05-09 16:54:20 +0100
commit091b15b7421374df4e06bfdb91bef6a0c36072cf (patch)
tree9326d025e1a1e356f28847f698fcd9751f986364 /app/models
parent389de5e1e49f19ecdcad72992cfe8884b9fc7e60 (diff)
downloadgitlab-ce-091b15b7421374df4e06bfdb91bef6a0c36072cf.tar.gz
Change DetectRepositoryLanguagesWorker to not receive user
Fixes #60425
Diffstat (limited to 'app/models')
-rw-r--r--app/models/repository.rb2
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.