]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/actions/pushcallback.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / OStatus / actions / pushcallback.php
index 9252ac61a1c8620495fa66575d5d86840cc60312..397aa56b9073af9117b767fd0fc8faaba328a4c0 100644 (file)
@@ -51,7 +51,7 @@ class PushCallbackAction extends Action
             throw new ServerException(_m('Empty or invalid feed id.'), 400);
         }
 
-        $feedsub = FeedSub::staticGet('id', $feedid);
+        $feedsub = FeedSub::getKV('id', $feedid);
         if (!$feedsub) {
             // TRANS: Server exception. %s is a feed ID.
             throw new ServerException(sprintf(_m('Unknown PuSH feed id %s'),$feedid), 400);
@@ -91,7 +91,7 @@ class PushCallbackAction extends Action
             throw new ClientException(sprintf(_m('Bad hub.mode "$s".',$mode)), 404);
         }
 
-        $feedsub = FeedSub::staticGet('uri', $topic);
+        $feedsub = FeedSub::getKV('uri', $topic);
         if (!$feedsub) {
             // TRANS: Client exception. %s is an invalid feed name.
             throw new ClientException(sprintf(_m('Bad hub.topic feed "%s".'),$topic), 404);