diff options
-rw-r--r-- | includes/controller/angeltypes_controller.php | 2 | ||||
-rw-r--r-- | includes/controller/user_angeltypes_controller.php | 2 | ||||
-rw-r--r-- | includes/pages/user_news.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php index 74a191a7..f8191b2e 100644 --- a/includes/controller/angeltypes_controller.php +++ b/includes/controller/angeltypes_controller.php @@ -61,7 +61,7 @@ function angeltypes_about_controller() { * Delete an Angeltype. */ function angeltype_delete_controller() { - global $privileges, $user; + global $privileges; if (! in_array('admin_angel_types', $privileges)) redirect(page_link_to('angeltypes')); diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php index 1c7addc9..be835e1f 100644 --- a/includes/controller/user_angeltypes_controller.php +++ b/includes/controller/user_angeltypes_controller.php @@ -111,7 +111,7 @@ function user_angeltypes_confirm_all_controller() { * Confirm an user for an angeltype. */ function user_angeltype_confirm_controller() { - global $user, $privileges; + global $user; if (! isset($_REQUEST['user_angeltype_id'])) { error(_("User angeltype doesn't exist.")); diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php index 289cd326..78d63d61 100644 --- a/includes/pages/user_news.php +++ b/includes/pages/user_news.php @@ -12,7 +12,7 @@ function meetings_title() { } function user_meetings() { - global $DISPLAY_NEWS, $user; + global $DISPLAY_NEWS; $html = '<div class="col-md-12"><h1>' . meetings_title() . '</h1>' . msg(); |