Replace BaseObject class with DI::* calls
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user