]> 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 75800aa8585430854c4dd92425cf4d62f32e4b02..6d2605d05457b0769279cf8d728067c0a8f1d4c0 100644 (file)
@@ -111,7 +111,7 @@ class InviteAction extends Action
 
             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;