Reset create callbacks for Issues/MRs while importing GitHub projects
This commit is contained in:
parent
c5e4e676e3
commit
e901d1209e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
@ -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…
Reference in a new issue