From 99f16ab00a71b79b2534582a75e7c5e35b148428 Mon Sep 17 00:00:00 2001 From: RainbowShaggy Date: Wed, 28 Aug 2024 22:26:45 +0200 Subject: [PATCH] Remove unused stuff --- .../Http/Controllers/Api/PatchController.php | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/dist/app/Http/Controllers/Api/PatchController.php b/dist/app/Http/Controllers/Api/PatchController.php index a68767e..4037e56 100644 --- a/dist/app/Http/Controllers/Api/PatchController.php +++ b/dist/app/Http/Controllers/Api/PatchController.php @@ -14,28 +14,6 @@ class PatchController extends Controller { - public function getCurrentPatch() - { - $disk = Storage::disk('patches'); - $patchFiles = $disk->allFiles('paks'); - - if (count($patchFiles) <= 0) - return response('No Patches Found', 404); - - $filePath = $disk->path($patchFiles[0]); - - return response()->download($filePath); - } - - public function getSignature() - { - $disk = Storage::disk('patches'); - if(!$disk->exists('TheExit.sig')) - return response('No Patches Found', 404); - - return response()->download($disk->path('TheExit.sig')); - } - public function getFileWithPatchline(string $patchline_name, string $hash) : BinaryFileResponse { $patchline = Patchline::tryFromName(str($patchline_name)->upper());