From: Evan Prodromou Date: Tue, 2 Aug 2011 17:14:11 +0000 (-0400) Subject: remove some debugging stuff in Profile::fillAvatars() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5081c56ea49173bb7c5ddb1b6f48487c35076123;p=quix0rs-gnu-social.git remove some debugging stuff in Profile::fillAvatars() --- diff --git a/classes/Profile.php b/classes/Profile.php index be60cfbd08..d5008d9fb8 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -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]); }