mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Small optimizations in code, use compact where applicable
This commit is contained in:
@@ -110,14 +110,7 @@ class ConsoleController extends BasePageController
|
||||
$meta_description = 'Browse for Console Games';
|
||||
$content = $this->smarty->fetch('console.tpl');
|
||||
|
||||
$this->smarty->assign(
|
||||
[
|
||||
'content' => $content,
|
||||
'meta_title' => $meta_title,
|
||||
'meta_keywords' => $meta_keywords,
|
||||
'meta_description' => $meta_description,
|
||||
]
|
||||
);
|
||||
$this->smarty->assign(compact('content', 'meta_title', 'meta_keywords', 'meta_description'));
|
||||
|
||||
$this->pagerender();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user