diff --git a/app/Http/Controllers/IndexController.php b/app/Http/Controllers/IndexController.php index 531a9aeb1..80842a247 100755 --- a/app/Http/Controllers/IndexController.php +++ b/app/Http/Controllers/IndexController.php @@ -87,7 +87,6 @@ class IndexController extends InvokeController */ public function desktop__publish($name = '') { - $body = Request::input('body'); $genericVersion = Request::header('generic-version'); // $latestFile = public_path("uploads/desktop/latest"); @@ -100,14 +99,6 @@ class IndexController extends InvokeController "fileName" => true ]); if (Base::isSuccess($res)) { - if (in_array($res['data']['name'], ['latest.yml', 'latest-mac.yml']) && $body) { - $content = str_replace("\n", "\n ", $body); - $content = <<