From: Hypolite Petovan Date: Fri, 11 Nov 2022 02:42:06 +0000 (-0500) Subject: Remove mod/pubsub.php file X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d21da2dc0aa3b40c0c0a21e1317a0a9f961b5f6c;p=friendica.git Remove mod/pubsub.php file --- diff --git a/mod/pubsub.php b/mod/pubsub.php deleted file mode 100644 index 7640efd07f..0000000000 --- a/mod/pubsub.php +++ /dev/null @@ -1,53 +0,0 @@ -. - * - */ - -use Friendica\App; -use Friendica\Core\Logger; -use Friendica\Core\Protocol; -use Friendica\Core\System; -use Friendica\Database\DBA; -use Friendica\DI; -use Friendica\Model\Contact; -use Friendica\Protocol\OStatus; -use Friendica\Util\Strings; -use Friendica\Util\Network; -use Friendica\Model\GServer; -use Friendica\Model\Post; - -function hub_return($valid, $body) -{ - if ($valid) { - echo $body; - } else { - throw new \Friendica\Network\HTTPException\NotFoundException(); - } - System::exit(); -} - -function pubsub_init(App $a) -{ - -} - -function pubsub_post(App $a) -{ - -}