]> source.dussan.org Git - redmine.git/commitdiff
Removed useless code.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 4 Feb 2012 11:41:43 +0000 (11:41 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 4 Feb 2012 11:41:43 +0000 (11:41 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8771 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index b7f4a7c84ff54b9502e5c4639ce0d3563ba57583..9976a93ccce150d0d22ea2568d1a535e71e48d5e 100644 (file)
@@ -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) }