Merged development into master

This commit is contained in:
NelsonLaQuet 2013-09-01 05:51:21 -05:00
commit 798f372f64

View file

@ -119,7 +119,7 @@ class RefreshCache extends Command {
$resources[$type][$id] = $resource;
}
foreach (DB::table('followers') as $follower) {
foreach (DB::table('followers')->get() as $follower) {
$userResource = $this->getUserCacheItem($cacheItems, $follower->user_id, 'artist', $follower->artist_id);
$userResource['is_followed'] = true;
$cacheItems[$follower->user_id]['artist'][$follower->artist_id] = $userResource;