Replace deprecated $a->page with DI::page()

This commit is contained in:
nupplaPhil
2019-12-30 20:02:09 +01:00
parent 6c2d13403e
commit 6d7362da41
48 changed files with 197 additions and 198 deletions

View File

@@ -137,7 +137,7 @@ class Group extends BaseModule
$a = DI::app();
$a->page['aside'] = Model\Group::sidebarWidget('contact', 'group', 'extended', (($a->argc > 1) ? $a->argv[1] : 'everyone'));
DI::page()['aside'] = Model\Group::sidebarWidget('contact', 'group', 'extended', (($a->argc > 1) ? $a->argv[1] : 'everyone'));
// With no group number provided we jump to the unassigned contacts as a starting point
// @TODO: Replace with parameter from router