]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/invite.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / invite.php
index 1bfc9f76d31b5da30a3b20b0969443ee473e1768..6d2605d05457b0769279cf8d728067c0a8f1d4c0 100644 (file)
@@ -20,7 +20,7 @@
 if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
 
 // @todo XXX: Add documentation.
-class InviteAction extends CurrentUserDesignAction
+class InviteAction extends Action
 {
     var $mode = null;
     var $error = null;
@@ -111,7 +111,7 @@ class InviteAction extends CurrentUserDesignAction
 
             foreach ($addresses as $email) {
                 $email = common_canonical_email($email);
-                $other = User::staticGet('email', $email);
+                $other = User::getKV('email', $email);
                 if ($other) {
                     if ($user->isSubscribed($other)) {
                         $this->already[] = $other;