1
0
Fork 0

Escape global namespaced get_app() calls

- Add deprecated status
This commit is contained in:
Hypolite Petovan 2018-12-27 19:22:35 -05:00
commit 5e1ceb57de
52 changed files with 135 additions and 133 deletions

View file

@ -22,7 +22,7 @@ class FriendicaSmarty extends Smarty
{
parent::__construct();
$a = get_app();
$a = \get_app();
$theme = $a->getCurrentTheme();
// setTemplateDir can be set to an array, which Smarty will parse in order.