diff options
author | msquare <msquare@notrademark.de> | 2016-10-04 21:20:38 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-10-04 21:20:38 +0200 |
commit | 27c9650dc4064ec5b40c5041d8291a7ce0e5305e (patch) | |
tree | e2896b891a04615af48419c703ed09c5124d4d0e /includes/controller/angeltypes_controller.php | |
parent | a50b26490cf3c76d6dae293cb34b4cbff01133b6 (diff) |
reduce complexity of shifts controller
Diffstat (limited to 'includes/controller/angeltypes_controller.php')
-rw-r--r-- | includes/controller/angeltypes_controller.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php index cd938893..ea451481 100644 --- a/includes/controller/angeltypes_controller.php +++ b/includes/controller/angeltypes_controller.php @@ -50,9 +50,6 @@ function angeltypes_about_controller() { } else { $angeltypes = AngelTypes(); } - if ($angeltypes === false) { - engelsystem_error("Unable to load angeltypes."); - } return [ _("Teams/Job description"), @@ -223,9 +220,6 @@ function angeltypes_list_controller() { } $angeltypes = AngelTypes_with_user($user); - if ($angeltypes === false) { - engelsystem_error("Unable to load angeltypes."); - } foreach ($angeltypes as &$angeltype) { $actions = [ |