Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
51ed8438
Commit
51ed8438
authored
Apr 19, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the reset_merge_errors method from MR refresh service
parent
bf6633ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
app/services/merge_requests/refresh_service.rb
app/services/merge_requests/refresh_service.rb
+0
-7
No files found.
app/services/merge_requests/refresh_service.rb
View file @
51ed8438
...
@@ -12,7 +12,6 @@ module MergeRequests
...
@@ -12,7 +12,6 @@ module MergeRequests
close_merge_requests
close_merge_requests
reload_merge_requests
reload_merge_requests
reset_merge_when_pipeline_succeeds
reset_merge_when_pipeline_succeeds
reset_merge_errors
mark_pending_todos_done
mark_pending_todos_done
cache_merge_requests_closing_issues
cache_merge_requests_closing_issues
...
@@ -100,12 +99,6 @@ module MergeRequests
...
@@ -100,12 +99,6 @@ module MergeRequests
merge_requests_for_source_branch
.
each
(
&
:reset_merge_when_pipeline_succeeds
)
merge_requests_for_source_branch
.
each
(
&
:reset_merge_when_pipeline_succeeds
)
end
end
def
reset_merge_errors
merge_requests_for_source_branch
.
each
do
|
merge_request
|
merge_request
.
update_attribute
(
:merge_error
,
nil
)
end
end
def
mark_pending_todos_done
def
mark_pending_todos_done
merge_requests_for_source_branch
.
each
do
|
merge_request
|
merge_requests_for_source_branch
.
each
do
|
merge_request
|
todo_service
.
merge_request_push
(
merge_request
,
@current_user
)
todo_service
.
merge_request_push
(
merge_request
,
@current_user
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment