From 07710f685f4aa358e0946fe2f2eda99470a97b58 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 26 Mar 2024 15:04:23 +0100 Subject: [PATCH] Drop hooks `service.app-delay-start-*` in favour of the existing `json.before-appdelaystart` and `json.after-appdelaystart` --- plugins/README.md | 6 ------ snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php | 4 ---- 2 files changed, 10 deletions(-) diff --git a/plugins/README.md b/plugins/README.md index ca7ba401de..f0eb94ae3d 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -411,12 +411,6 @@ and called in JavaScript using rl.pluginRemoteRequest(). string $sName mixed &$mResult -### service.app-delay-start-begin - no params - -### service.app-delay-start-end - no params - # JavaScript Events ## mailbox diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php index 74de6ba497..8357f997df 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php @@ -79,8 +79,6 @@ public function DoLogout() : array public function DoAppDelayStart() : array { - $this->Plugins()->RunHook('service.app-delay-start-begin'); - Utils::UpdateConnectionToken(); $bMainCache = false; @@ -130,8 +128,6 @@ public function DoAppDelayStart() : array $this->logWrite('Files GC: End'); } - $this->Plugins()->RunHook('service.app-delay-start-end'); - return $this->TrueResponse(); }