mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 17:08:48 +00:00
Replaced argv/argc with replacement functions
This commit is contained in:
parent
42454b3cf7
commit
f878d2e463
9 changed files with 25 additions and 25 deletions
|
@ -317,8 +317,8 @@ function windowsphonepush_content(App $a)
|
|||
// Login with the specified Network credentials (like in api.php)
|
||||
windowsphonepush_login($a);
|
||||
|
||||
$path = $a->argv[0];
|
||||
$path2 = $a->argv[1];
|
||||
$path = DI::args()->getArgv()[0];
|
||||
$path2 = DI::args()->getArgv()[1];
|
||||
if ($path == "windowsphonepush") {
|
||||
switch ($path2) {
|
||||
case "show_settings":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue