summaryrefslogtreecommitdiff
path: root/includes/controller/user_angeltypes_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-08-21 18:00:24 +0200
committermsquare <msquare@notrademark.de>2016-08-21 18:00:39 +0200
commit53ad1b5110e22bdbb57960aec7d29b824dda7b5b (patch)
tree5a33544142ecf13e5902ff196d8b8470b5120945 /includes/controller/user_angeltypes_controller.php
parent29cbd4a9dde440605c5f34d50961fa5208411293 (diff)
fix codacy 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 c6115b6c..1c7addc9 100644
--- a/includes/controller/user_angeltypes_controller.php
+++ b/includes/controller/user_angeltypes_controller.php
@@ -23,7 +23,7 @@ function user_angeltypes_unconfirmed_hint() {
* Remove all unconfirmed users from a specific angeltype.
*/
function user_angeltypes_delete_all_controller() {
- global $user, $privileges;
+ global $user;
if (! isset($_REQUEST['angeltype_id'])) {
error(_("Angeltype doesn't exist."));