Revert "update: cache personal freeleech existence instead of its value"

This reverts commit b48a9222d1.
This commit is contained in:
Roardom
2023-07-28 06:08:55 +00:00
parent aa061d3ff8
commit bb5255d968
10 changed files with 15 additions and 12 deletions
@@ -89,7 +89,7 @@ class SimilarTorrentController extends Controller
break;
}
$personalFreeleech = cache()->has('personal_freeleech:'.auth()->id());
$personalFreeleech = cache()->get('personal_freeleech:'.auth()->id());
return view('torrent.similar', [
'meta' => $meta,