12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- if (!defined('STATUSNET') && !defined('LACONICA')) {
- exit(1);
- }
- class SmsQueueHandler extends QueueHandler
- {
- function transport()
- {
- return 'sms';
- }
- function handle($notice)
- {
- require_once(INSTALLDIR.'/lib/mail.php');
- return mail_broadcast_notice_sms($notice);
- }
- }
|