summaryrefslogtreecommitdiffstats
path: root/config/initializers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-07 20:19:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-07 20:19:49 +0000
commit1a851318fdce55a7ffb2290de692282e294987f8 (patch)
tree6116e0043b56ed114334d5e8656b61d4a8b9666e /config/initializers
parentbf5d58a76887c2d7819d9f4a1e28139de0ddc95c (diff)
downloadredmine-1a851318fdce55a7ffb2290de692282e294987f8.tar.gz
redmine-1a851318fdce55a7ffb2290de692282e294987f8.zip
Replaces awesome_nested_set gem with a simple and more robust implementation of nested sets.
The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set. git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/10-patches.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb
index ff74c308c..63532b491 100644
--- a/config/initializers/10-patches.rb
+++ b/config/initializers/10-patches.rb
@@ -193,16 +193,3 @@ if Rails::VERSION::MAJOR < 4 && RUBY_VERSION >= "2.1"
end
end
end
-
-module CollectiveIdea
- module Acts
- module NestedSet
- module Model
- def leaf_with_new_record?
- new_record? || leaf_without_new_record?
- end
- alias_method_chain :leaf?, :new_record
- end
- end
- end
-end