]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitimelineuser.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / apitimelineuser.php
index 62d0a5e0d5bbbd78319b3f0aa5aee6833be18ab5..19e1a52d15509131f15c6fe1cfe413b17025ca98 100644 (file)
@@ -414,7 +414,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
         common_debug("Note ID is {$note->id}");
 
         if (!empty($note->id)) {
-            $notice = Notice::staticGet('uri', trim($note->id));
+            $notice = Notice::getKV('uri', trim($note->id));
 
             if (!empty($notice)) {
                 // TRANS: Client error displayed when using another format than AtomPub.
@@ -445,7 +445,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
                 if (!empty($profile)) {
                     $options['replies'][] = $uri;
                 } else {
-                    $group = User_group::staticGet('uri', $uri);
+                    $group = User_group::getKV('uri', $uri);
                     if (!empty($group)) {
                         $options['groups'][] = $group->id;
                     } else {
@@ -459,7 +459,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
             // @fixme what about conversation ID?
 
             if (!empty($activity->context->replyToID)) {
-                $orig = Notice::staticGet('uri',
+                $orig = Notice::getKV('uri',
                                           $activity->context->replyToID);
                 if (!empty($orig)) {
                     $options['reply_to'] = $orig->id;