From b4dd5cb21b2d7aa8941eaf57f7b25e6b2cba98a1 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 10 Jun 2025 10:54:23 +0200 Subject: [PATCH] refactor(events): remove ProxyStarted event and associated ProxyStartedNotification listener for code cleanup --- app/Events/ProxyStarted.php | 14 ------------- app/Listeners/ProxyStartedNotification.php | 24 ---------------------- 2 files changed, 38 deletions(-) delete mode 100644 app/Events/ProxyStarted.php delete mode 100644 app/Listeners/ProxyStartedNotification.php diff --git a/app/Events/ProxyStarted.php b/app/Events/ProxyStarted.php deleted file mode 100644 index 64d562e0a..000000000 --- a/app/Events/ProxyStarted.php +++ /dev/null @@ -1,14 +0,0 @@ -server = data_get($event, 'data'); - $this->server->setupDefaultRedirect(); - $this->server->setupDynamicProxyConfiguration(); - $this->server->proxy->force_stop = false; - $this->server->save(); - // ProxyStatusChanged::dispatch( $this->server->id); - } -}