mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 20:03:40 +00:00
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
This commit is contained in:
parent
5060f3c0aa
commit
dfd8c4c24f
2 changed files with 3 additions and 2 deletions
|
@ -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 ";
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue