Fixes instance of WSOD

This commit is contained in:
Samuel Georges 2015-09-30 05:26:12 +10:00
parent bbfba7dc34
commit 3f53ae1ccf

View File

@ -31,6 +31,7 @@ class EventLog extends Model
{
return (
class_exists('Model') &&
Model::getConnectionResolver() &&
DbDongle::hasDatabase() &&
!defined('OCTOBER_NO_EVENT_LOGGING')
);