mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
This commit is contained in:
parent
26af2feee2
commit
e6f61c2cc7
33 changed files with 63 additions and 66 deletions
|
@ -49,7 +49,7 @@ class AllFriends extends BaseModule
|
|||
|
||||
$total = Model\GContact::countAllFriends(local_user(), $cid);
|
||||
|
||||
$pager = new Pager($app->query_string);
|
||||
$pager = new Pager(DI::args()->getQueryString());
|
||||
|
||||
$friends = Model\GContact::allFriends(local_user(), $cid, $pager->getStart(), $pager->getItemsPerPage());
|
||||
if (empty($friends)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue