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

@ -145,7 +145,7 @@ function nodeinfo_init(App $a) {
function nodeinfo_cron() {
$a = get_app();
$a = \get_app();
// If the addon 'statistics_json' is enabled then disable it and activate nodeinfo.
if (Addon::isEnabled('statistics_json')) {