From 3a0103de7b7f1647e191d0b9a0619f01ba552ecb Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sat, 20 Jun 2015 17:56:56 +0200 Subject: [PATCH] Clean up --- framework/core/src/Forum/Actions/IndexAction.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/core/src/Forum/Actions/IndexAction.php b/framework/core/src/Forum/Actions/IndexAction.php index ffff02fe3..cc3529535 100644 --- a/framework/core/src/Forum/Actions/IndexAction.php +++ b/framework/core/src/Forum/Actions/IndexAction.php @@ -6,7 +6,6 @@ use Flarum\Assets\JsCompiler; use Flarum\Assets\LessCompiler; use Flarum\Core; use Flarum\Forum\Events\RenderView; -use Flarum\Forum\Loaders\LoaderInterface; use Flarum\Locale\JsCompiler as LocaleJsCompiler; use Flarum\Support\Actor; use Flarum\Support\HtmlAction; @@ -37,8 +36,9 @@ class IndexAction extends HtmlAction public function render(Request $request, $params = []) { - $config = $this->database->table('config')->whereIn('key', ['base_url', 'api_url', 'forum_title', 'welcome_title', 'welcome_message'])->lists('value', 'key'); - $data = []; + $config = $this->database->table('config') + ->whereIn('key', ['base_url', 'api_url', 'forum_title', 'welcome_title', 'welcome_message']) + ->lists('value', 'key'); $session = []; $alert = $this->session->get('alert');