diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-01-05 23:45:12 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-01-05 23:45:12 +0800 |
commit | fb2ca26f523f7dd4422b4d82f18e92a234ed4c05 (patch) | |
tree | 8c5623606eb1dd9209d7bc1dcbf6d96ab2a25ac3 /app/policies | |
parent | dbf8388d8107042894abdd084e7b78f5ec59c364 (diff) | |
download | gitlab-ce-fb2ca26f523f7dd4422b4d82f18e92a234ed4c05.tar.gz |
Remove unused push_code_to_protected_branches38056-remove-unused-option
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index f599eab42f2..1dd8f0a25a9 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -241,7 +241,6 @@ class ProjectPolicy < BasePolicy rule { repository_disabled }.policy do prevent :push_code - prevent :push_code_to_protected_branches prevent :download_code prevent :fork_project prevent :read_commit_status |