diff options
author | Nick Thomas <nick@gitlab.com> | 2016-08-15 14:05:08 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2016-08-15 14:05:08 +0300 |
commit | e6f519c4a7efa6a865c7e8d2a62ed5c3db12b453 (patch) | |
tree | 10eceef1d5bda6f234169c171b5a53215d4c92ad /app | |
parent | 0332a8f974575a0cef5a11d8a18b128530070d1b (diff) |
Fix a 'missing keyword' error introduced in the last commit
Diffstat (limited to 'app')
-rw-r--r-- | app/services/merge_requests/update_service.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/services/merge_requests/update_service.rb b/app/services/merge_requests/update_service.rb index 026a37997d4..0ad42b83fe2 100644 --- a/app/services/merge_requests/update_service.rb +++ b/app/services/merge_requests/update_service.rb @@ -16,7 +16,7 @@ module MergeRequests update(merge_request) end - def handle_changes(merge_request, old_labels: []) + def handle_changes(merge_request, old_labels: [], old_mentioned_users: []) if has_changes?(merge_request, old_labels: old_labels) todo_service.mark_pending_todos_as_done(merge_request, current_user) end @@ -55,6 +55,8 @@ module MergeRequests current_user ) end + + # TODO(nick): use old_mentioned_users to send notify for changed mentions end def reopen_service |