Remove deprecated App::query_string - replace with DI::args()->getQueryString()

This commit is contained in:
nupplaPhil
2019-12-16 01:30:34 +01:00
parent 26af2feee2
commit e6f61c2cc7
33 changed files with 63 additions and 66 deletions

View File

@@ -116,7 +116,7 @@ function notifications_content(App $a)
}
// Set the pager
$pager = new Pager($a->query_string, $perpage);
$pager = new Pager(DI::args()->getQueryString(), $perpage);
// Add additional informations (needed for json output)
$notifs['items_page'] = $pager->getItemsPerPage();