Skip to content

Commit 44d0cc4

Browse files
committed
Fix tests
1 parent b9cab09 commit 44d0cc4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/system/models/EventLog.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public static function useLogging(): bool
3737
!defined('WINTER_NO_EVENT_LOGGING') &&
3838
class_exists('Model') &&
3939
Model::getConnectionResolver() &&
40-
App::hasDatabase() &&
41-
LogSetting::isConfigured() &&
40+
static::hasDatabaseTable() &&
4241
LogSetting::get('log_events')
4342
);
4443
}

0 commit comments

Comments
 (0)