]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/cancelrsvp.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / Event / cancelrsvp.php
index 6b0ddb228733b7e885008f56dc9f151a0400249c..ab6cc5037e5d91943ce713f79be42ee52dc72456 100644 (file)
@@ -82,14 +82,14 @@ class CancelrsvpAction extends Action
             throw new ClientException(_m('No such RSVP.'));
         }
 
-        $this->rsvp = RSVP::staticGet('id', $rsvpId);
+        $this->rsvp = RSVP::getKV('id', $rsvpId);
 
         if (empty($this->rsvp)) {
             // TRANS: Client exception thrown when referring to a non-existing RSVP ("please respond") item.
             throw new ClientException(_m('No such RSVP.'));
         }
 
-        $this->event = Happening::staticGet('id', $this->rsvp->event_id);
+        $this->event = Happening::getKV('id', $this->rsvp->event_id);
 
         if (empty($this->event)) {
             // TRANS: Client exception thrown when referring to a non-existing event.