##// END OF EJS Templates
Adds a controller hook before issue move (#4850)....
Jean-Philippe Lang -
r3343:08d7c5bfb4fb
parent child
Show More
@@ -327,6 +327,7 class IssuesController < ApplicationController
327 end
327 end
328 end
328 end
329 issue.init_journal(User.current)
329 issue.init_journal(User.current)
330 call_hook(:controller_issues_move_before_save, { :params => params, :issue => issue, :target_project => @target_project, :copy => !!@copy })
330 if r = issue.move_to(@target_project, new_tracker, {:copy => @copy, :attributes => changed_attributes})
331 if r = issue.move_to(@target_project, new_tracker, {:copy => @copy, :attributes => changed_attributes})
331 moved_issues << r
332 moved_issues << r
332 else
333 else
General Comments 0
You need to be logged in to leave comments. Login now