mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
Merged development into master
This commit is contained in:
commit
798f372f64
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class RefreshCache extends Command {
|
||||||
$resources[$type][$id] = $resource;
|
$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 = $this->getUserCacheItem($cacheItems, $follower->user_id, 'artist', $follower->artist_id);
|
||||||
$userResource['is_followed'] = true;
|
$userResource['is_followed'] = true;
|
||||||
$cacheItems[$follower->user_id]['artist'][$follower->artist_id] = $userResource;
|
$cacheItems[$follower->user_id]['artist'][$follower->artist_id] = $userResource;
|
||||||
|
|
Loading…
Reference in a new issue