Optimize updates of issue's shared versions.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3137 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-12-08 20:47:52 +00:00
1 parent 8f85ba79bc
commit 0fe389b841
3 files changed
+27 -10

No files matched your search

+1 -1
View File
@@ -304,7 +304,7 @@ class Project < ActiveRecord::Base
# move_to_child_of adds the project in last (ie.right) position
move_to_child_of(p)
end
Issue.update_fixed_versions_from_sharing_change
Issue.update_versions_from_hierarchy_change(self)
true
else
# Can not move to the given target