From: nupplaPhil Date: Tue, 28 Jan 2020 00:12:41 +0000 (+0100) Subject: enotify: empty out fields instead of using "abort" for addons X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2429f7eba8b05091ab1dfd6c1c9dc54ca6e5c927;p=friendica-addons.git enotify: empty out fields instead of using "abort" for addons --- 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 = []; } }