]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/User_group.php
Restructure theme.php to define a class Theme
[quix0rs-gnu-social.git] / classes / User_group.php
index 310ecff1ef766726197eaa06457b6a3c5cfcc405..b92638f7aa4615668a2f368b359432c2d96b8893 100644 (file)
@@ -34,7 +34,7 @@ class User_group 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');
     }
 
     function homeUrl()