Commit 36ee74b2 authored by jplang's avatar jplang

Removed useless code.

git-svn-id: https://svn.redmine.org/redmine/trunk@8771 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 15d43eb6
......@@ -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) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment