mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 03:38:52 +00:00
Remove XXX covers processing and related code
This commit is contained in:
@@ -18,7 +18,7 @@ class CoverController extends Controller
|
||||
public function show(string $type, string $filename)
|
||||
{
|
||||
// Validate cover type
|
||||
$validTypes = ['anime', 'audio', 'audiosample', 'book', 'console', 'games', 'movies', 'music', 'preview', 'sample', 'tvrage', 'video', 'xxx', 'tvshows'];
|
||||
$validTypes = ['anime', 'audio', 'audiosample', 'book', 'console', 'games', 'movies', 'music', 'preview', 'sample', 'tvrage', 'video', 'tvshows'];
|
||||
|
||||
if (! in_array($type, $validTypes)) {
|
||||
abort(404);
|
||||
|
||||
Reference in New Issue
Block a user