Remove unused stuff

This commit is contained in:
RainbowShaggy
2024-08-28 22:26:45 +02:00
committed by Vari
parent 11bc3ce84c
commit 99f16ab00a

View File

@@ -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());