summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/users_controller.rb8
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