]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialPhotos/actions/photos.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / GNUsocialPhotos / actions / photos.php
index 3b8a0fd64f29e55093f13fd0e4102cca8f15107d..c966d0b71d7cf6eca8e89069cbc9d5074af85242 100644 (file)
@@ -48,7 +48,7 @@ class PhotosAction extends Action
         if (common_valid_profile_tag($username) == 0) {
             $this->user = null;
         } else {
-            $this->user = Profile::staticGet('nickname', $username);
+            $this->user = Profile::getKV('nickname', $username);
         }
         return true;
     }
@@ -120,7 +120,7 @@ class PhotosAction extends Action
     
     function showAlbum($album_id)
     {
-        $album = GNUSocialPhotoAlbum::staticGet('album_id', $album_id);
+        $album = GNUSocialPhotoAlbum::getKV('album_id', $album_id);
         if (!$album) {
             return;
         }