Update StatusService, use BookmarkService for bookmarked state

pull/3194/head
Daniel Supernault 3 years ago
parent ff4519bfaf
commit a7d715517d
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -175,10 +175,7 @@ class StatusService
public static function isBookmarked($id, $pid = null)
{
return $pid ?
DB::table('bookmarks')
->where('status_id', $id)
->where('profile_id', $pid)
->exists() :
BookmarkService::get($pid, $id) :
false;
}
}

Loading…
Cancel
Save