X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fenjitqueuehandler.php;h=3a4f8315d338ff7a79f7576e9b3b7302e1284b19;hb=8e4f985e4502a14d66f84f9e5c8d4a54bb8e5594;hp=1c033603ff27381608777f6c3e127609094d8f1d;hpb=eb2f9c98ac115ce67e9a740b200c832153ffa05c;p=quix0rs-gnu-social.git diff --git a/scripts/enjitqueuehandler.php b/scripts/enjitqueuehandler.php index 1c033603ff..3a4f8315d3 100755 --- a/scripts/enjitqueuehandler.php +++ b/scripts/enjitqueuehandler.php @@ -33,19 +33,23 @@ require_once(INSTALLDIR . '/lib/queuehandler.php'); set_error_handler('common_error_handler'); -class EnjitQueueHandler extends QueueHandler { +class EnjitQueueHandler extends QueueHandler +{ - function transport() { + function transport() + { return 'enjit'; } - function start() { + function start() + { $this->log(LOG_INFO, "Starting EnjitQueueHandler"); $this->log(LOG_INFO, "Broadcasting to ".common_config('enjit', 'apiurl')); return true; } - function handle_notice($notice) { + function handle_notice($notice) + { $profile = Profile::staticGet($notice->profile_id);