diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-13 18:53:34 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-13 18:53:34 +0000 |
commit | 17c7886791a7dd33daaa8ed0e334f733afefc4a1 (patch) | |
tree | 13a9e57d04b4ad10f36188ef4eb58b306ff56ee3 /app/controllers | |
parent | 48949f979a7d132ccbbc2239cd9e4ecf35fdeef5 (diff) | |
download | redmine-17c7886791a7dd33daaa8ed0e334f733afefc4a1.tar.gz redmine-17c7886791a7dd33daaa8ed0e334f733afefc4a1.zip |
Removed unused UsersController#destroy.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/users_controller.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index cf0128d7c..3f3adb57d 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -109,12 +109,4 @@ class UsersController < ApplicationController end redirect_to :action => 'edit', :id => @user and return end - - def destroy - User.find(params[:id]).destroy - redirect_to :action => 'list' - rescue - flash[:error] = "Unable to delete user" - redirect_to :action => 'list' - end end |