X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FOStatus%2Flib%2Fhubconfqueuehandler.php;h=d26c45be04a3461b44372b934c46c0231d8d97e1;hb=53d45d7ffbe6bcdf336a0e666942557c11cf909b;hp=c8e0b72fee9c4d7a4c1e2eba97552488bd820f3c;hpb=01cfe86cd27eb302a69c5d6df8eddc4893b774c3;p=quix0rs-gnu-social.git diff --git a/plugins/OStatus/lib/hubconfqueuehandler.php b/plugins/OStatus/lib/hubconfqueuehandler.php index c8e0b72fee..d26c45be04 100644 --- a/plugins/OStatus/lib/hubconfqueuehandler.php +++ b/plugins/OStatus/lib/hubconfqueuehandler.php @@ -17,6 +17,10 @@ * along with this program. If not, see . */ +if (!defined('STATUSNET')) { + exit(1); +} + /** * Send a PuSH subscription verification from our internal hub. * @package Hub @@ -51,4 +55,3 @@ class HubConfQueueHandler extends QueueHandler return true; } } -