mirror of
https://github.com/friendica/friendica
synced 2025-04-20 17:10:10 +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
|
@ -425,7 +425,7 @@ class Contact extends BaseModule
|
|||
if (!empty($_REQUEST['confirm'])) {
|
||||
// <form> can't take arguments in its 'action' parameter
|
||||
// so add any arguments as hidden inputs
|
||||
$query = explode_querystring($a->query_string);
|
||||
$query = explode_querystring(DI::args()->getQueryString());
|
||||
$inputs = [];
|
||||
foreach ($query['args'] as $arg) {
|
||||
if (strpos($arg, 'confirm=') === false) {
|
||||
|
@ -467,7 +467,7 @@ class Contact extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
$_SESSION['return_path'] = $a->query_string;
|
||||
$_SESSION['return_path'] = DI::args()->getQueryString();
|
||||
|
||||
if (!empty($a->data['contact']) && is_array($a->data['contact'])) {
|
||||
$contact = $a->data['contact'];
|
||||
|
@ -776,7 +776,7 @@ class Contact extends BaseModule
|
|||
if (DBA::isResult($r)) {
|
||||
$total = $r[0]['total'];
|
||||
}
|
||||
$pager = new Pager($a->query_string);
|
||||
$pager = new Pager(DI::args()->getQueryString());
|
||||
|
||||
$contacts = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue