summaryrefslogtreecommitdiff
path: root/src/plugins/SenderGVSMS.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 01:22:27 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 01:22:27 -0400
commit570901ba4e526be37afd0cbbe018cb0500a7cda1 (patch)
tree81f13e66cfd795141cac216fd2af610e877a1a31 /src/plugins/SenderGVSMS.class.php
parentad4a7ff9159c2c64cea98d7189f46fa7d6174fc2 (diff)
Refactor a bit
* move a lot of stuff out of MessageManager * move models from lib to models
Diffstat (limited to 'src/plugins/SenderGVSMS.class.php')
-rw-r--r--src/plugins/SenderGVSMS.class.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/SenderGVSMS.class.php b/src/plugins/SenderGVSMS.class.php
index 90f9e69..7919007 100644
--- a/src/plugins/SenderGVSMS.class.php
+++ b/src/plugins/SenderGVSMS.class.php
@@ -1,9 +1,8 @@
<?php
-require_once('SenderPrivate.class.php');
require_once('GoogleVoice.class.php');
-class SenderGVSMS extends SenderPrivate {
+class SenderGVSMS extends Plugin {
protected $config = array('username'=>'',
'password'=>'',
'length'=>160);
@@ -23,7 +22,7 @@ class SenderGVSMS extends SenderPrivate {
$this->config['password']);
}
- public function send($phoneNum, $id, $subject, $body) {
+ public function sendPrivate($phoneNum, $id, $subject, $body) {
global $shorturl, $messenger;
$url = $shorturl->get($messenger->id2url($id));
$maxlen = $this->config['length']-(strlen($url)+1);