summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-14 16:31:03 +0200
committerJames Lopez <james@jameslopez.es>2016-06-14 16:31:03 +0200
commit9ecebaaea16d206ed20a2f4fc0021a2145c873f5 (patch)
tree346f9df3661e5cd0e31116fa19270c8e0f3fc032 /app/workers
parentfe370b1c396cb3c290fcdb1d716a79ffe5c29169 (diff)
downloadgitlab-ce-9ecebaaea16d206ed20a2f4fc0021a2145c873f5.tar.gz
adding notifications stuff and more refactoring for exporting projects
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/project_export_worker.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/project_export_worker.rb b/app/workers/project_export_worker.rb
index 3616b37d2ad..d2dcdb46219 100644
--- a/app/workers/project_export_worker.rb
+++ b/app/workers/project_export_worker.rb
@@ -7,6 +7,7 @@ class ProjectExportWorker
def perform(current_user_id, project_id)
current_user = User.find(current_user_id)
project = Project.find(project_id)
+
::Projects::ImportExport::ExportService.new(project, current_user).execute
end
end