1
0
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:
Franz Liedke
2015-06-08 11:21:42 +02:00
parent 38dfe787f2
commit 238893a601
2 changed files with 12 additions and 6 deletions

View File

@@ -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;
}