summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-23 15:23:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-23 15:23:03 +0000
commit3be511cdab00549c8ceb4a7045684fca38b72202 (patch)
tree65fe75be31e60c4e238db48e320bb49893255801 /app
parent0a8b35718affaf0a985cb484ce270c96f9c3ceff (diff)
downloadredmine-3be511cdab00549c8ceb4a7045684fca38b72202.tar.gz
redmine-3be511cdab00549c8ceb4a7045684fca38b72202.zip
Removed dead code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8951 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/application_controller.rb9
-rw-r--r--app/controllers/issues_controller.rb3
2 files changed, 1 insertions, 11 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index a087b82ee..65ee8ac3b 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -260,15 +260,6 @@ class ApplicationController < ActionController::Base
render_404
end
- # Check if project is unique before bulk operations
- def check_project_uniqueness
- unless @project
- # TODO: let users bulk edit/move/destroy issues from different projects
- render_error 'Can not bulk edit/move/destroy issues from different projects'
- return false
- end
- end
-
# make sure that the user is a member of the project (or admin) if project is private
# used as a before_filter for actions that do not require any particular permission on the project
def check_project_privacy
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index e8ff416b7..63b3412be 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -20,8 +20,7 @@ class IssuesController < ApplicationController
default_search_scope :issues
before_filter :find_issue, :only => [:show, :edit, :update]
- before_filter :find_issues, :only => [:bulk_edit, :bulk_update, :move, :perform_move, :destroy]
- before_filter :check_project_uniqueness, :only => [:move, :perform_move]
+ before_filter :find_issues, :only => [:bulk_edit, :bulk_update, :destroy]
before_filter :find_project, :only => [:new, :create]
before_filter :authorize, :except => [:index]
before_filter :find_optional_project, :only => [:index]