summaryrefslogtreecommitdiff
path: root/includes/controller/user_driver_licenses_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-11-17 15:04:33 +0100
committermsquare <msquare@notrademark.de>2016-11-17 15:04:33 +0100
commit356cc9e1d0e01bad88cb29f3b143e4ae7156695b (patch)
treebf309fea2dd42ee0f7304c46ae366057405e7d6b /includes/controller/user_driver_licenses_controller.php
parent7b8d1918087b1d16519037afe61fd6ff09c68f94 (diff)
reduce complexity of user driver license
Diffstat (limited to 'includes/controller/user_driver_licenses_controller.php')
-rw-r--r--includes/controller/user_driver_licenses_controller.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php
index 8e90e39e..26deab7d 100644
--- a/includes/controller/user_driver_licenses_controller.php
+++ b/includes/controller/user_driver_licenses_controller.php
@@ -94,7 +94,6 @@ function user_driver_license_edit_controller() {
}
if (isset($_REQUEST['submit'])) {
- $valid = true;
$wants_to_drive = isset($_REQUEST['wants_to_drive']);
if ($wants_to_drive) {
$user_driver_license['has_car'] = isset($_REQUEST['has_car']);