]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/AllFriends.php
Merge pull request #8044 from annando/contact-adding
[friendica.git] / src / Module / AllFriends.php
index 14095f450774cc314c621212a9e16006c304cfd1..e145614982274a50d4741c29ba4ba5d96e5ed5a8 100644 (file)
@@ -44,12 +44,12 @@ class AllFriends extends BaseModule
                        throw new HTTPException\BadRequestException(L10n::t('Invalid contact.'));
                }
 
-               $app->page['aside'] = "";
+               DI::page()['aside'] = "";
                Model\Profile::load($app, "", 0, Model\Contact::getDetailsByURL($contact["url"]));
 
                $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)) {