summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-04 11:41:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-04 11:41:43 +0000
commit06f8c4b27a4da731147b33a67cae080c290a1f2e (patch)
treec12f5c7a571ef9e81b8c1d256a894f3c6a8630db /app/controllers/issues_controller.rb
parent333a6cc37005668f614252d3c58fedad4ef50e1d (diff)
downloadredmine-06f8c4b27a4da731147b33a67cae080c290a1f2e.tar.gz
redmine-06f8c4b27a4da731147b33a67cae080c290a1f2e.zip
Removed useless code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8771 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index b7f4a7c84..9976a93cc 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -173,8 +173,6 @@ class IssuesController < ApplicationController
def edit
update_issue_from_params
- @journal = @issue.current_journal
-
respond_to do |format|
format.html { }
format.xml { }
@@ -193,10 +191,6 @@ class IssuesController < ApplicationController
format.api { head :ok }
end
else
- render_attachment_warning_if_needed(@issue)
- flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record?
- @journal = @issue.current_journal
-
respond_to do |format|
format.html { render :action => 'edit' }
format.api { render_validation_errors(@issue) }