Replace BaseObject class with DI::* calls

This commit is contained in:
nupplaPhil
2019-12-15 23:28:01 +01:00
parent 1de3f186d7
commit 388b963714
98 changed files with 321 additions and 440 deletions

View File

@@ -126,9 +126,7 @@ 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.
/** @var Arguments $args */
$args = self::getClass(Arguments::class);
$pager = new Pager($args->getQueryString());
$pager = new Pager(DI::args()->getQueryString());
if ($tag) {
Logger::info('Start tag search.', ['q' => $search]);