fix stuck MR

fixes #348. related to 6487419364.
This commit is contained in:
Ben Bodenmiller
2015-04-14 00:15:34 -07:00
parent 4ab717ea6a
commit fb1cd0a842
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -73,6 +73,7 @@ v 7.10.0 (unreleased)
- Fix git over ssh errors 'fatal: protocol error: bad line length character'
- Automatically setup GitLab CI project for forks if origin project has GitLab CI enabled
- Bust group page project list cache when namespace name or path changes.
- Fix stuck Merge Request merging events from old installations (Ben Bodenmiller)
v 7.9.3
- Contains no changes
+1 -1
View File
@@ -361,6 +361,6 @@ class MergeRequest < ActiveRecord::Base
end
def locked_long_ago?
locked_at && locked_at < (Time.now - 1.day)
locked_at.nil? || locked_at < (Time.now - 1.day)
end
end