summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-27 06:47:46 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-27 06:47:46 +0000
commitba75aa504b498ff7d77a23d5d57bf3e43e4b13b7 (patch)
treec7e6d6c6b19cb531fe6a260d9e94e7b53e5c06e4 /lib/plugins
parent4f996fa5c20ceee635ff553a9bedd67080bcc9dd (diff)
downloadredmine-ba75aa504b498ff7d77a23d5d57bf3e43e4b13b7.tar.gz
redmine-ba75aa504b498ff7d77a23d5d57bf3e43e4b13b7.zip
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
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb b/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb
index 81ecbc6b3..c831c48fc 100644
--- a/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb
+++ b/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb
@@ -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