summaryrefslogtreecommitdiff
path: root/includes/controller/user_driver_licenses_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_driver_licenses_controller.php
parent29cbd4a9dde440605c5f34d50961fa5208411293 (diff)
fix codacy unused code
Diffstat (limited to 'includes/controller/user_driver_licenses_controller.php')
-rw-r--r--includes/controller/user_driver_licenses_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php
index d13d84d9..0118eeb4 100644
--- a/includes/controller/user_driver_licenses_controller.php
+++ b/includes/controller/user_driver_licenses_controller.php
@@ -30,7 +30,7 @@ function user_driver_license_required_hint() {
* Route user driver licenses actions.
*/
function user_driver_licenses_controller() {
- global $privileges, $user;
+ global $user;
if (! isset($user))
redirect(page_link_to(''));