From 2429f7eba8b05091ab1dfd6c1c9dc54ca6e5c927 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Tue, 28 Jan 2020 01:12:41 +0100 Subject: [PATCH] enotify: empty out fields instead of using "abort" for addons --- blockem/blockem.php | 3 ++- superblock/superblock.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/blockem/blockem.php b/blockem/blockem.php index 8fb2875a..3a32aa2d 100644 --- a/blockem/blockem.php +++ b/blockem/blockem.php @@ -108,7 +108,8 @@ function blockem_enotify_store(App $a, array &$b) } if ($found) { - $b['abort'] = true; + // empty out the fields + $b = []; } } diff --git a/superblock/superblock.php b/superblock/superblock.php index aed125a6..e0b3ff83 100644 --- a/superblock/superblock.php +++ b/superblock/superblock.php @@ -95,7 +95,8 @@ function superblock_enotify_store(&$a,&$b) { } } if ($found) { - $b['abort'] = true; + // Empty out the fields + $b = []; } } -- 2.39.5