##// END OF EJS Templates
graft r5285 to awesome_nested_set 2.1.5 (#7920)...
Toshi MARUYAMA -
r12410:2d2542008e94
parent child
Show More
@@ -590,6 +590,8 module CollectiveIdea #:nodoc:
590 ["#{quoted_right_column_name} = (#{quoted_right_column_name} - ?)", diff]
590 ["#{quoted_right_column_name} = (#{quoted_right_column_name} - ?)", diff]
591 )
591 )
592
592
593 # Reload is needed because children may have updated their parent (self) during deletion.
594 reload
593 # Don't allow multiple calls to destroy to corrupt the set
595 # Don't allow multiple calls to destroy to corrupt the set
594 self.skip_before_destroy = true
596 self.skip_before_destroy = true
595 end
597 end
General Comments 0
You need to be logged in to leave comments. Login now