]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Avatar.php
Restructure theme.php to define a class Theme
[quix0rs-gnu-social.git] / classes / Avatar.php
index 64f105179c85c24358c9e83f19dcdce6e9676a00..cc7a6b64717ac5534c9aeeb9a473ad26dcf0f222 100644 (file)
@@ -102,6 +102,6 @@ class Avatar extends Memcached_DataObject
         static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
                                   AVATAR_STREAM_SIZE => 'stream',
                                   AVATAR_MINI_SIZE => 'mini');
-        return theme_path('default-avatar-'.$sizenames[$size].'.png');
+        return Theme::path('default-avatar-'.$sizenames[$size].'.png');
     }
 }