forked from GNUsocial/gnu-social
Default to profile size in Avatar::defaultAvatar
This commit is contained in:
parent
e6f07d8554
commit
3ef573f67c
@ -207,7 +207,7 @@ class Avatar extends Managed_DataObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static function defaultImage($size)
|
static function defaultImage($size=AVATAR_PROFILE_SIZE)
|
||||||
{
|
{
|
||||||
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
|
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
|
||||||
AVATAR_STREAM_SIZE => 'stream',
|
AVATAR_STREAM_SIZE => 'stream',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user