Small optimizations in code, use compact where applicable

This commit is contained in:
DariusIII
2019-01-25 13:20:55 +01:00
parent 0e49c06f6a
commit 603655e974
58 changed files with 197 additions and 755 deletions
+1 -8
View File
@@ -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();
}