]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialVideo/showvideo.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / GNUsocialVideo / showvideo.php
index 3046a6c837f8cb939c4575173e835c64f28fa62c..628d08642af2147cb064ec2c78bdd5e9bf3ebaaa 100644 (file)
@@ -38,7 +38,7 @@ class ShowvideoAction extends ShownoticeAction
     {
         OwnerDesignAction::prepare($args);
         $this->id = $this->trimmed('id');
-        $this->vid = Video::staticGet('id', $this->id);
+        $this->vid = Video::getKV('id', $this->id);
 
         if (empty($this->vid)) {
             throw new ClientException(_('No such video.'), 404);
@@ -50,7 +50,7 @@ class ShowvideoAction extends ShownoticeAction
             throw new ClientException(_('No such video'), 404);
         }
 
-        $this->user = User::staticGet('id', $this->vid->profile_id);
+        $this->user = User::getKV('id', $this->vid->profile_id);
 
         if (empty($this->user)) {
             throw new ClientException(_('No such user.'), 404);