mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Derp.
This commit is contained in:
parent
4fc88f673d
commit
2ce67e9443
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue