mirror of
https://github.com/flarum/core.git
synced 2025-10-10 06:24:26 +02:00
Get rid of more facade usage
This commit is contained in:
@@ -15,7 +15,7 @@ class Core
|
||||
return $default;
|
||||
}
|
||||
|
||||
if (is_null($value = DB::table('config')->where('key', $key)->pluck('value'))) {
|
||||
if (is_null($value = app('db')->table('config')->where('key', $key)->pluck('value'))) {
|
||||
$value = $default;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user