summaryrefslogtreecommitdiff
path: root/includes/model/EventConfig_model.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model/EventConfig_model.php')
-rw-r--r--includes/model/EventConfig_model.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/model/EventConfig_model.php b/includes/model/EventConfig_model.php
index b5d3cc73..c5caf4d5 100644
--- a/includes/model/EventConfig_model.php
+++ b/includes/model/EventConfig_model.php
@@ -10,10 +10,6 @@ use Engelsystem\Database\DB;
function EventConfig()
{
$event_config = DB::select('SELECT * FROM `EventConfig` LIMIT 1');
- if (DB::getStm()->errorCode() != '00000') {
- engelsystem_error('Unable to load event config.');
- return null;
- }
if (empty($event_config)) {
return null;