. * */ 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) { }