forked from GNUsocial/gnu-social
remove some debugging stuff in Profile::fillAvatars()
This commit is contained in:
parent
f6a7335ccd
commit
5081c56ea4
@ -1382,13 +1382,9 @@ class Profile extends Memcached_DataObject
|
||||
$ids[] = $profile->id;
|
||||
}
|
||||
|
||||
common_debug('Got here');
|
||||
|
||||
$avatars = Avatar::pivotGet('profile_id', $ids, array('width' => $width,
|
||||
'height' => $width));
|
||||
|
||||
common_debug(sprintf('Got %d avatars for %d profiles', count($avatars), count($ids)));
|
||||
|
||||
foreach ($profiles as $profile) {
|
||||
$profile->_fillAvatar($width, $avatars[$profile->id]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user