mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:50:11 +00:00
Replace BaseObject class with DI::* calls
This commit is contained in:
parent
1de3f186d7
commit
388b963714
98 changed files with 321 additions and 440 deletions
|
@ -55,8 +55,7 @@ class Delegation extends BaseSettingsModule
|
|||
throw new HTTPException\ForbiddenException(L10n::t('Permission denied.'));
|
||||
}
|
||||
|
||||
/** @var Arguments $args */
|
||||
$args = self::getClass(Arguments::class);
|
||||
$args = DI::args();
|
||||
|
||||
// @TODO Replace with router-provided arguments
|
||||
$action = $args->get(2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue