change default avatars from config vars to theme files
darcs-hash:20080611190230-84dde-78ff0d6f6c370a33aabc4f0053651b6629f85499.gz
This commit is contained in:
@@ -456,9 +456,7 @@ function common_default_avatar($size) {
|
||||
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
|
||||
AVATAR_STREAM_SIZE => 'stream',
|
||||
AVATAR_MINI_SIZE => 'mini');
|
||||
global $config;
|
||||
|
||||
return common_path($config['avatar']['default'][$sizenames[$size]]);
|
||||
return theme_path('default-avatar-'.$sizenames[$size].'.png');
|
||||
}
|
||||
|
||||
function common_local_url($action, $args=NULL) {
|
||||
|
||||
Reference in New Issue
Block a user