]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
Moved favoriteNotices from User to Profile class
[quix0rs-gnu-social.git] / classes / Profile.php
index 5058fbce6836d91281e58cdc9bcb6b153c2ed229..cafaec5a3d18559ea12bc41ae2397d0686e848c2 100644 (file)
@@ -753,6 +753,11 @@ class Profile extends Managed_DataObject
         return $cnt;
     }
 
+    function favoriteNotices($own=false, $offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $max_id=0)
+    {
+        return Fave::stream($this->id, $offset, $limit, $own, $since_id, $max_id);
+    }
+
     function noticeCount()
     {
         $c = Cache::instance();