]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
Merge remote-tracking branch 'upstream/develop' into improved-payload
[friendica.git] / mod / poco.php
index 42b9af02a782bb59c8f11cb7f33af56722005e76..3656571719c94f0c7930812ce14c20e0f95aee4c 100644 (file)
@@ -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();
        }