mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 18:04:26 +02:00
[various] Remove remaining mentions of App->argc/argv
- The property has been removed in the core
This commit is contained in:
parent
1544fed2b9
commit
d26a1db790
3 changed files with 23 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue