X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoco.php;h=3656571719c94f0c7930812ce14c20e0f95aee4c;hb=b521e45903544f15443d9f77bfe684c67d139873;hp=42b9af02a782bb59c8f11cb7f33af56722005e76;hpb=38a5358bfa646ae13a4a1a385741890fa88d9b7f;p=friendica.git diff --git a/mod/poco.php b/mod/poco.php index 42b9af02a7..3656571719 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -35,7 +35,7 @@ function poco_init(App $a) { throw new \Friendica\Network\HTTPException\ForbiddenException(); } - if ($a->argc > 1) { + if (DI::args()->getArgc() > 1) { // Only the system mode is supported throw new \Friendica\Network\HTTPException\NotFoundException(); }