[various] Remove remaining mentions of App->argc/argv

- The property has been removed in the core
This commit is contained in:
Hypolite Petovan 2021-08-16 05:48:59 -04:00
parent 1544fed2b9
commit d26a1db790
3 changed files with 23 additions and 23 deletions

View file

@ -25,7 +25,7 @@ function saml_module($a)
function saml_init($a)
{
if ($a->argc < 2) {
if (DI::args()->getArgc() < 2) {
return;
}
@ -34,7 +34,7 @@ function saml_init($a)
return;
}
switch ($a->argv[1]) {
switch (DI::args()->get(1)) {
case 'metadata.xml':
saml_metadata();
break;