summaryrefslogtreecommitdiff
path: root/includes/controller/event_config_controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/controller/event_config_controller.php')
-rw-r--r--includes/controller/event_config_controller.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/includes/controller/event_config_controller.php b/includes/controller/event_config_controller.php
index dcdcf54a..7d11ecb4 100644
--- a/includes/controller/event_config_controller.php
+++ b/includes/controller/event_config_controller.php
@@ -91,7 +91,7 @@ function event_config_edit_controller()
}
if ($valid) {
- $result = EventConfig_update(
+ EventConfig_update(
$event_name,
$buildup_start_date,
$event_start_date,
@@ -100,10 +100,6 @@ function event_config_edit_controller()
$event_welcome_msg
);
- if ($result === false) {
- engelsystem_error('Unable to update event config.');
- }
-
engelsystem_log(
'Changed event config: $event_name, $event_welcome_msg, '
. date('Y-m-d', $buildup_start_date) . ', ' . date('Y-m-d', $event_start_date) . ', '