Skip to content
Snippets Groups Projects
Commit e901d120 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Reset create callbacks for Issues/MRs while importing GitHub projects

parent c5e4e676
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11311Fix token interpolation when setting the Github remote
Loading
Loading
@@ -7,6 +7,7 @@ module Github
class MergeRequest < ::MergeRequest
self.table_name = 'merge_requests'
 
self.reset_callbacks :create
self.reset_callbacks :save
self.reset_callbacks :commit
self.reset_callbacks :update
Loading
Loading
@@ -17,6 +18,7 @@ module Github
self.table_name = 'issues'
 
self.reset_callbacks :save
self.reset_callbacks :create
self.reset_callbacks :commit
self.reset_callbacks :update
self.reset_callbacks :validate
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment