@@ -534,7 +534,7 @@ def show_detail(detail, no_html=false, options={})
534
534
old_value = format_date ( detail . old_value . to_date ) if detail . old_value
535
535
536
536
when 'project_id' , 'status_id' , 'tracker_id' , 'assigned_to_id' ,
537
- 'priority_id' , 'category_id' , 'fixed_version_id' , 'author_id'
537
+ 'priority_id' , 'category_id' , 'fixed_version_id'
538
538
value = find_name_by_reflection ( field , detail . value )
539
539
old_value = find_name_by_reflection ( field , detail . old_value )
540
540
@@ -778,23 +778,4 @@ def projects_for_select(issue)
778
778
projects
779
779
end
780
780
end
781
-
782
- def author_options_for_select ( issue , project )
783
- users = issue . assignable_users . select { |m | m . is_a? ( User ) && m . allowed_to? ( :add_issues , project ) }
784
-
785
- if issue . new_record?
786
- if users . include? ( User . current )
787
- principals_options_for_select ( users , issue . author )
788
- else
789
- principals_options_for_select ( [ User . current ] + users )
790
- end
791
- elsif issue . persisted?
792
- if users . include? ( issue . author )
793
- principals_options_for_select ( users , issue . author )
794
- else
795
- author_principal = Principal . find ( issue . author_id )
796
- principals_options_for_select ( [ author_principal ] + users , author_principal )
797
- end
798
- end
799
- end
800
781
end
0 commit comments