chore: Remove commented code in Server model

This commit is contained in:
Andras Bacsai
2024-10-03 21:29:04 +02:00
parent a0bb523507
commit 5bcd813792

View File

@@ -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');
}