remove some debugging stuff in Profile::fillAvatars()

This commit is contained in:
Evan Prodromou 2011-08-02 13:14:11 -04:00
parent f6a7335ccd
commit 5081c56ea4

View File

@ -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]);
}