1
0
Fork 0

Update InternalApiController

This commit is contained in:
Daniel Supernault 2018-11-19 21:06:55 -07:00
parent 66f4f05419
commit cd89925c45
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 0 additions and 3 deletions

View File

@ -146,9 +146,6 @@ class InternalApiController extends Controller
$posts = Status::select('id', 'caption', 'profile_id')
->whereHas('media')
->whereHas('profile', function($q) {
$q->where('is_private', false);
})
->whereIsNsfw(false)
->whereVisibility('public')
->whereNotIn('profile_id', $following)