Should probably override this later using the global settings variable
This commit is contained in:
snipe 2016-11-28 22:38:11 -08:00
parent 6bb5555a73
commit cc943e22db

View file

@ -49,10 +49,15 @@ class Setting extends Model
{
static $static_cache = null;
if (!$static_cache) {
$static_cache = Setting::first();
if (Schema::hasTable('settings')) {
if (!$static_cache) {
$static_cache = Setting::first();
}
return $static_cache;
}
return $static_cache;
return false;
}
public static function setupCompleted()