mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
move r12689 awesome_nested_set modification to config/initializers/10-patches.rb (#7920)
git-svn-id: http://svn.redmine.org/redmine/trunk@12733 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -593,8 +593,6 @@ module CollectiveIdea #:nodoc:
|
||||
["#{quoted_right_column_name} = (#{quoted_right_column_name} - ?)", diff]
|
||||
)
|
||||
|
||||
# Reload is needed because children may have updated their parent (self) during deletion.
|
||||
reload
|
||||
# Don't allow multiple calls to destroy to corrupt the set
|
||||
self.skip_before_destroy = true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user