use proper name for gitlabshell worker

This commit is contained in:
Dmitriy Zaporozhets 2013-02-11 19:27:26 +02:00
parent dd8d0a659d
commit ea0cb39d63
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
class ProjectObserver < ActiveRecord::Observer
def after_create(project)
GitoliteWorker.perform_async(
GitlabShellWorker.perform_async(
:add_repository,
project.path_with_namespace
)
@ -13,7 +13,7 @@ class ProjectObserver < ActiveRecord::Observer
end
def after_destroy(project)
GitoliteWorker.perform_async(
GitlabShellWorker.perform_async(
:remove_repository,
project.path_with_namespace
)