diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-02-28 22:43:16 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-02-28 22:43:16 +0200 |
commit | 36b065e634f65e5c4690ccd7eed0cc90986ec67b (patch) | |
tree | 6ec92900141fdb27a9816d845c981467f2f372ce /app/observers | |
parent | 110585c503a0d85fe61cde60c70fa333506370de (diff) | |
download | gitlab-ce-36b065e634f65e5c4690ccd7eed0cc90986ec67b.tar.gz |
Feature: reopen closed merge request
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/observers')
-rw-r--r-- | app/observers/merge_request_observer.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/observers/merge_request_observer.rb b/app/observers/merge_request_observer.rb index ef31498e7d0..f2e2d16c943 100644 --- a/app/observers/merge_request_observer.rb +++ b/app/observers/merge_request_observer.rb @@ -22,6 +22,8 @@ class MergeRequestObserver < ActivityObserver create_event(merge_request, Event::REOPENED) create_note(merge_request) execute_hooks(merge_request) + merge_request.reload_code + merge_request.mark_as_unchecked end def after_update(merge_request) |