From 9e884bb4447778f7e5aa70112fbc8dd2ccaa8e4a Mon Sep 17 00:00:00 2001 From: msquare Date: Mon, 22 Aug 2016 20:40:31 +0200 Subject: remove unused code --- includes/controller/user_angeltypes_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/controller/user_angeltypes_controller.php') 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.")); -- cgit v1.2.3-54-g00ecf