mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Clean up
This commit is contained in:
parent
195a3e42d8
commit
3a0103de7b
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user