summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-07 18:02:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-07 18:02:02 +0000
commit165373575883c3ca377d0d9d5ee0780cd0b09b24 (patch)
tree54335ed9f15e5fcc09240181ad111e2d9e0eaa32 /app/controllers/issues_controller.rb
parent065376c160b0bc3ca6cd59707a0395b8bff23de9 (diff)
downloadredmine-165373575883c3ca377d0d9d5ee0780cd0b09b24.tar.gz
redmine-165373575883c3ca377d0d9d5ee0780cd0b09b24.zip
Deprecated Issue#move_to_project.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8539 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 4cbfa3c0a..ad1d0a012 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -241,7 +241,7 @@ class IssuesController < ApplicationController
@issues.each do |issue|
issue.reload
if @copy
- issue = Issue.new.copy_from(issue)
+ issue = issue.copy
end
journal = issue.init_journal(User.current, params[:notes])
issue.safe_attributes = attributes