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

This commit is contained in:
nupplaPhil 2019-12-16 01:30:33 +01:00
parent 5060f3c0aa
commit dfd8c4c24f
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90
2 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@ use Friendica\Core\Hook;
use Friendica\Core\L10n;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Profile;
use Friendica\Util\Strings;
@ -107,7 +108,7 @@ function forumdirectory_content(App $a)
$total = $cnt['total'];
}
$pager = new Pager($a->query_string, 60);
$pager = new Pager(DI::args()->getQueryString(), 60);
$order = " ORDER BY `name` ASC ";

View File

@ -151,7 +151,7 @@ function xmpp_converse(App $a)
return;
}
if (in_array($a->query_string, ["admin/federation/"])) {
if (in_array(DI::args()->getQueryString(), ["admin/federation/"])) {
return;
}