This commit is contained in:
snipe 2016-11-29 05:19:18 -08:00
parent 4fc88f673d
commit 2ce67e9443

View file

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