X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FNoScrape.php;h=cef7cdce72010dbbcaba891a05fc70e2e2ce0e9c;hb=a1947d2bb106e932cb72616e6c4cf809d249a1f6;hp=56f31f2dcfeef2d98926d0118710b430aef8d36d;hpb=27c738f90f5961ffcdc438810a93407e4544eead;p=friendica.git diff --git a/src/Module/NoScrape.php b/src/Module/NoScrape.php index 56f31f2dcf..cef7cdce72 100644 --- a/src/Module/NoScrape.php +++ b/src/Module/NoScrape.php @@ -1,6 +1,6 @@ getLoggedInUserNickname(); } else { - System::jsonError(403, 'Authentication required'); + $this->jsonError(403, 'Authentication required'); } $owner = User::getOwnerDataByNick($which); if (empty($owner['uid'])) { - System::jsonError(404, 'Profile not found'); + $this->jsonError(404, 'Profile not found'); } $json_info = [ @@ -71,7 +71,7 @@ class NoScrape extends BaseModule if (!$owner['net-publish']) { $json_info['hide'] = true; - System::jsonExit($json_info); + $this->jsonExit($json_info); } $keywords = $owner['pub_keywords'] ?? ''; @@ -107,6 +107,6 @@ class NoScrape extends BaseModule } } - System::jsonExit($json_info); + $this->jsonExit($json_info); } }