summaryrefslogtreecommitdiff
path: root/includes/controller/user_angeltypes_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-08-22 20:40:31 +0200
committermsquare <msquare@notrademark.de>2016-08-22 20:40:31 +0200
commit9e884bb4447778f7e5aa70112fbc8dd2ccaa8e4a (patch)
tree7b6cbe3e239e1d5130346ae2de6db7b06767de4e /includes/controller/user_angeltypes_controller.php
parent3f4be08865296431d070e4386a252dac84d528ec (diff)
remove unused code
Diffstat (limited to 'includes/controller/user_angeltypes_controller.php')
-rw-r--r--includes/controller/user_angeltypes_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php
index 2f382bb4..dfc22a71 100644
--- a/includes/controller/user_angeltypes_controller.php
+++ b/includes/controller/user_angeltypes_controller.php
@@ -225,7 +225,7 @@ function user_angeltype_delete_controller() {
* Update an UserAngelType.
*/
function user_angeltype_update_controller() {
- global $user, $privileges;
+ global $privileges;
if (! in_array('admin_angel_types', $privileges)) {
error(_("You are not allowed to set coordinator rights."));