summaryrefslogtreecommitdiff
path: root/src/plugins/SenderIdentica.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/SenderIdentica.class.php')
-rw-r--r--src/plugins/SenderIdentica.class.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/SenderIdentica.class.php b/src/plugins/SenderIdentica.class.php
index ac62dc3..1e778f6 100644
--- a/src/plugins/SenderIdentica.class.php
+++ b/src/plugins/SenderIdentica.class.php
@@ -1,9 +1,8 @@
<?php
-require_once('SenderBroadcast.class.php');
require_once('Identica.class.php');
-class SenderIdentica extends SenderBroadcast {
+class SenderIdentica extends Plugin {
protected $config = array('username'=>'',
'password'=>'',
'length'=>140);
@@ -24,7 +23,7 @@ class SenderIdentica extends SenderBroadcast {
$this->config['password']);
}
- public function send($id, $subject, $body) {
+ public function sendBroadcast($id, $subject, $body) {
global $shorturl, $messenger;
$url = $shorturl->get($messenger->id2url($id));
$maxlen = $this->config['length']-(strlen($url)+1);