summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-06 20:36:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-06 20:36:31 +0000
commit9fb770ba503b3dfe1fe48794e1b7042c5e26d8d7 (patch)
tree7a7975f365ca85a2472811908a3292f5a8d1a9a7 /app/controllers
parent7620142b7015860e11afb696f67877f03323a8a0 (diff)
downloadredmine-9fb770ba503b3dfe1fe48794e1b7042c5e26d8d7.tar.gz
redmine-9fb770ba503b3dfe1fe48794e1b7042c5e26d8d7.zip
Moves enabled_module_names param to project attribute so that it can be set through the Project API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4645 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 420801c01..1dffedc0e 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -77,7 +77,6 @@ class ProjectsController < ApplicationController
@project = Project.new
@project.safe_attributes = params[:project]
- @project.enabled_module_names = params[:enabled_modules] if params[:enabled_modules]
if 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