mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update HashtagUnfollowPipeline
This commit is contained in:
parent
cf50618696
commit
d8fbb4ff32
1 changed files with 0 additions and 4 deletions
|
@ -74,10 +74,6 @@ class HashtagUnfollowPipeline implements ShouldQueue, ShouldBeUniqueUntilProcess
|
||||||
|
|
||||||
$statusIds = HomeTimelineService::get($pid, 0, -1);
|
$statusIds = HomeTimelineService::get($pid, 0, -1);
|
||||||
|
|
||||||
if(!$statusIds || !count($statusIds)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$followingIds = Cache::remember('profile:following:'.$pid, 1209600, function() use($pid) {
|
$followingIds = Cache::remember('profile:following:'.$pid, 1209600, function() use($pid) {
|
||||||
$following = Follower::whereProfileId($pid)->pluck('following_id');
|
$following = Follower::whereProfileId($pid)->pluck('following_id');
|
||||||
return $following->push($pid)->toArray();
|
return $following->push($pid)->toArray();
|
||||||
|
|
Loading…
Reference in a new issue