From 20496b516fa02079d459ed06ba4f13105f3be710 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 8 Apr 2014 11:22:17 +0000 Subject: code format clean up Issue#update_versions_from_hierarchy_change git-svn-id: http://svn.redmine.org/redmine/trunk@13081 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/models/issue.rb b/app/models/issue.rb index 9162b498f..b20a73099 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1107,7 +1107,10 @@ class Issue < ActiveRecord::Base def self.update_versions_from_hierarchy_change(project) moved_project_ids = project.self_and_descendants.reload.collect(&:id) # Update issues of the moved projects and issues assigned to a version of a moved project - Issue.update_versions(["#{Version.table_name}.project_id IN (?) OR #{Issue.table_name}.project_id IN (?)", moved_project_ids, moved_project_ids]) + Issue.update_versions( + ["#{Version.table_name}.project_id IN (?) OR #{Issue.table_name}.project_id IN (?)", + moved_project_ids, moved_project_ids] + ) end def parent_issue_id=(arg) -- cgit v1.2.3