From 98b203a3ca809dae3a2d98f79d087355a56ec830 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 25 Dec 2023 16:07:59 +0100 Subject: [PATCH] Demo plugin disable delete of messages --- plugins/demo-account/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/demo-account/index.php b/plugins/demo-account/index.php index 0e46d6149..3bef7b22e 100644 --- a/plugins/demo-account/index.php +++ b/plugins/demo-account/index.php @@ -65,6 +65,9 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin exit; } } + else if ('DoFolderClear' === $sMethodName || 'DoMessageDelete' === $sMethodName) { + exit; + } } /**