summaryrefslogtreecommitdiff
path: root/includes/controller/user_driver_licenses_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-10-04 16:50:06 +0200
committermsquare <msquare@notrademark.de>2016-10-04 16:50:06 +0200
commiteec10ebfc5c14ab9b72d3b81b7d44a2e507f5473 (patch)
tree9cb1a879919b93f832796cb449229ec9a54e9ac0 /includes/controller/user_driver_licenses_controller.php
parent455e41720068740c523bfc4b15cf30e3811e4281 (diff)
reduce complexity of user angeltypes controller
Diffstat (limited to 'includes/controller/user_driver_licenses_controller.php')
-rw-r--r--includes/controller/user_driver_licenses_controller.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php
index 5c629777..88d25395 100644
--- a/includes/controller/user_driver_licenses_controller.php
+++ b/includes/controller/user_driver_licenses_controller.php
@@ -73,9 +73,6 @@ function user_driver_license_edit_controller() {
if (isset($_REQUEST['user_id'])) {
$user_source = User($_REQUEST['user_id']);
- if ($user_source === false) {
- engelsystem_error('Unable to load angeltype.');
- }
if ($user_source == null) {
redirect(user_driver_license_edit_link());
}