Revert "Merge branch 'fix-stuck-mr' into 'master'"

This reverts commit 79b4d0b0c0, reversing
changes made to a1e147ce22.
This commit is contained in:
Douwe Maan 2015-04-14 11:03:23 +02:00
parent 6b479b6cb0
commit ae6d0aaae0
2 changed files with 1 additions and 2 deletions

View File

@ -73,7 +73,6 @@ v 7.10.0 (unreleased)
- 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.
- Explicitly set image alt-attribute to prevent graphical glitches if gravatars could not be loaded
- Fix stuck Merge Request merging events from old installations (Ben Bodenmiller)
v 7.9.3
- Contains no changes

View File

@ -361,6 +361,6 @@ class MergeRequest < ActiveRecord::Base
end
def locked_long_ago?
locked_at.nil? || locked_at < (Time.now - 1.day)
locked_at && locked_at < (Time.now - 1.day)
end
end