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

@@ -149,7 +149,7 @@ function community_content(App $a, $update = 0)
$itemspage_network = $a->force_max_items;
}
$pager = new Pager($a->query_string, $itemspage_network);
$pager = new Pager(DI::args()->getQueryString(), $itemspage_network);
$r = community_getitems($pager->getStart(), $pager->getItemsPerPage(), $content, $accounttype);