]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Following.php
Merge pull request #7044 from MrPetovan/task/router
[friendica.git] / src / Module / Following.php
index 71e6613f0c19629810a7b7d0cd26ccb8f0da51b1..670142c4897ad0c261c9853aef6cbdeff3a82f72 100644 (file)
@@ -5,9 +5,9 @@
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
-use Friendica\Protocol\ActivityPub;
 use Friendica\Core\System;
 use Friendica\Model\User;
+use Friendica\Protocol\ActivityPub;
 
 /**
  * ActivityPub Following
@@ -18,10 +18,12 @@ class Following extends BaseModule
        {
                $a = self::getApp();
 
+               // @TODO: Replace with parameter from router
                if (empty($a->argv[1])) {
                        System::httpExit(404);
                }
 
+               // @TODO: Replace with parameter from router
                $owner = User::getOwnerDataByNick($a->argv[1]);
                if (empty($owner)) {
                        System::httpExit(404);