summaryrefslogtreecommitdiff
path: root/app/models/protected_branch.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-28 17:39:02 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-28 17:39:02 +0200
commit8b54b7233ef58a2a39da9777dbeab59b4024cc75 (patch)
tree6dbfd49ba68e1b76930281c20dfff607a681744d /app/models/protected_branch.rb
parent1c5876eb7b2deb069d919bd19b51c9f6218e0f41 (diff)
downloadgitlab-ce-8b54b7233ef58a2a39da9777dbeab59b4024cc75.tar.gz
Async perform for add/remove team members
Diffstat (limited to 'app/models/protected_branch.rb')
-rw-r--r--app/models/protected_branch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb
index 3308caf360a..2e7010ea9c9 100644
--- a/app/models/protected_branch.rb
+++ b/app/models/protected_branch.rb
@@ -22,7 +22,7 @@ class ProtectedBranch < ActiveRecord::Base
after_destroy :update_repository
def update_repository
- gitolite.update_repository(project)
+ project.update_repository
end
def commit