From 5bcd813792ebcb120d14edf6e61baf84e2569fc4 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 3 Oct 2024 21:29:04 +0200 Subject: [PATCH] chore: Remove commented code in Server model --- app/Models/Server.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/Models/Server.php b/app/Models/Server.php index 54942f5fb..3329c9761 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -460,15 +460,6 @@ $schema://$host { public function proxyType() { - // $proxyType = $this->proxy->get('type'); - // if ($proxyType === ProxyTypes::NONE->value) { - // return $proxyType; - // } - // if (is_null($proxyType)) { - // $this->proxy->type = ProxyTypes::TRAEFIK->value; - // $this->proxy->status = ProxyStatus::EXITED->value; - // $this->save(); - // } return data_get($this->proxy, 'type'); }