changeset 1247:1aee31f54e13 redmine-2.2-integration

Removed tag-realted hacky code from projects controller.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 03 Apr 2013 15:28:05 +0100
parents d375687d09b5
children 1b44eeb49c5a
files app/controllers/projects_controller.rb
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/projects_controller.rb	Thu Mar 28 15:07:47 2013 +0000
+++ b/app/controllers/projects_controller.rb	Wed Apr 03 15:28:05 2013 +0100
@@ -103,15 +103,6 @@
     @project = Project.new
     @project.safe_attributes = params[:project]
 
-
-    # todo: luisf: this should be removed from here...
-    if params && params[:project] && !params[:project][:tag_list].nil?
-      new_tags = params[:project][:tag_list].to_s.downcase
-
-      @project.tag_list = ActionController::Base.helpers.strip_tags(new_tags)
-    end
-    # end of code to be removed
-
     if validate_is_public_key && validate_parent_id && @project.save
       @project.set_allowed_parent!(params[:project]['parent_id']) if params[:project].has_key?('parent_id')
       # Add current user as a project member if he is not admin