]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/EmailRegistration/emailregister.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / EmailRegistration / emailregister.php
index e5c7d8a56c37e89a5f3621c614a82d9cb30458db..5eaf84ad5402859ea3916a8b311459991bee9993 100644 (file)
@@ -107,7 +107,7 @@ class EmailregisterAction extends Action
                     throw new ClientException(_m('No confirmation code.'));
                 }
 
-                $this->invitation = Invitation::staticGet('code', $this->code);
+                $this->invitation = Invitation::getKV('code', $this->code);
 
                 if (!empty($this->invitation)) {
                     if (!empty($this->invitation->registered_user_id)) {
@@ -116,7 +116,7 @@ class EmailregisterAction extends Action
                     }
                 } else {
 
-                    $this->confirmation = Confirm_address::staticGet('code', $this->code);
+                    $this->confirmation = Confirm_address::getKV('code', $this->code);
 
                     if (empty($this->confirmation)) {
                         // TRANS: Client exception thrown when given confirmation code was not issued.
@@ -139,7 +139,7 @@ class EmailregisterAction extends Action
                 }
                 $this->state = self::NEWREGISTER;
             } else {
-                $this->invitation = Invitation::staticGet('code', $this->code);
+                $this->invitation = Invitation::getKV('code', $this->code);
                 if (!empty($this->invitation)) {
                     if (!empty($this->invitation->registered_user_id)) {
                         // TRANS: Client exception trown when using an invitation multiple times.
@@ -148,7 +148,7 @@ class EmailregisterAction extends Action
                     $this->state = self::CONFIRMINVITE;
                 } else {
                     $this->state = self::CONFIRMREGISTER;
-                    $this->confirmation = Confirm_address::staticGet('code', $this->code);
+                    $this->confirmation = Confirm_address::getKV('code', $this->code);
 
                     if (empty($this->confirmation)) {
                         // TRANS: Client exception thrown when given confirmation code was not issued.