Commit 5081c56e authored by Evan Prodromou's avatar Evan Prodromou

remove some debugging stuff in Profile::fillAvatars()

parent f6a7335c
......@@ -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]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment