mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
Use Dice instantiation to access App\Arguments
- Remove App->args accessors
This commit is contained in:
parent
1e737ae888
commit
c8316bfe57
5 changed files with 14 additions and 22 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace Friendica\Module\Search;
|
||||
|
||||
use Friendica\App\Arguments;
|
||||
use Friendica\Content\Nav;
|
||||
use Friendica\Content\Pager;
|
||||
use Friendica\Content\Text\HTML;
|
||||
|
@ -125,7 +126,9 @@ class Index extends BaseSearchModule
|
|||
// OR your own posts if you are a logged in member
|
||||
// No items will be shown if the member has a blocked profile wall.
|
||||
|
||||
$pager = new Pager(self::getArgs()->getQueryString());
|
||||
/** @var Arguments $args */
|
||||
$args = self::getClass(Arguments::class);
|
||||
$pager = new Pager($args->getQueryString());
|
||||
|
||||
if ($tag) {
|
||||
Logger::info('Start tag search for "' . $search . '"');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue