forked from GNUsocial/gnu-social
Extended Async Processor to allow use of Statusnet driver
This commit is contained in:
parent
03670d21d4
commit
022e92ce5d
34
plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php
Normal file
34
plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* StatusNet - the distributed open-source microblogging tool
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* Extends the Async processor class (Phergie_Process_Async) to allow it to
|
||||||
|
* operate with the Statusnet driver
|
||||||
|
*
|
||||||
|
* @category Phergie
|
||||||
|
* @package Phergie_Process_Statusnet
|
||||||
|
* @author Luke Fitzgerald <lw.fitzgerald@googlemail.com
|
||||||
|
* @copyright 2010 StatusNet, Inc.
|
||||||
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||||
|
* @link http://status.net/
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Phergie_Process_Statusnet extends Phergie_Process_Async {
|
||||||
|
public function __constuct(Phergie_Extended_Bot $bot, array $options) {
|
||||||
|
$this->usec = 0;
|
||||||
|
Phergie_Process_Abstract::__construct($bot, $options);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user