Commit bf0996cc authored by Valery Sizov's avatar Valery Sizov

Negative approvals required

parent 6b028ed8
v 8.3.0 (unreleased)
- License information can now be retrieved via the API
- Fix bug with negative approvals required
v 8.2.0
- Invalidate stored jira password if the endpoint URL is changed
......
......@@ -444,7 +444,7 @@ class MergeRequest < ActiveRecord::Base
end
def approved?
approvals_left.zero?
approvals_left < 1
end
def approved_by?(user)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment