]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/allrss.php
Properly unlink all old avatars when deleting/uploading a new
[quix0rs-gnu-social.git] / actions / allrss.php
index 90e6f7a86aa01d5d02343d4cc6c8d0e5fb9ae10d..3db19ffdcce54e0e615a828ef8e80d0b73960d1c 100644 (file)
@@ -129,7 +129,6 @@ class AllrssAction extends Rss10Action
         if (!$profile) {
             return null;
         }
-        $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
-        return $avatar ? $avatar->url : null;
+        return $profile->avatarUrl(AVATAR_PROFILE_SIZE);
     }
 }