. * * @category Plugin * @package StatusNet * @author Zach Copley * @copyright 2010 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ if (!defined('STATUSNET')) { exit(1); } class FacebookQueueHandler extends QueueHandler { function transport() { return 'facebook'; } function handle($notice) { if ($notice->isLocal()) { return Facebookclient::facebookBroadcastNotice($notice); } return true; } }