mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 20:43:26 +02:00
Avoid globals where possible
$logged => logged() $account_logged => accountLogged()
This commit is contained in:
@@ -105,7 +105,7 @@ if(isset($_GET['archive']))
|
||||
header('X-XSS-Protection: 0');
|
||||
$title = 'Latest News';
|
||||
|
||||
$cache = Cache::getInstance();
|
||||
$cache = app()->get('cache');
|
||||
|
||||
$news_cached = false;
|
||||
if($cache->enabled())
|
||||
|
Reference in New Issue
Block a user