]> git.mxchange.org Git - friendica-addons.git/commitdiff
enotify: empty out fields instead of using "abort" for addons
authornupplaPhil <admin@philipp.info>
Tue, 28 Jan 2020 00:12:41 +0000 (01:12 +0100)
committernupplaPhil <admin@philipp.info>
Tue, 28 Jan 2020 00:12:41 +0000 (01:12 +0100)
blockem/blockem.php
superblock/superblock.php

index 8fb2875a125b037dd5c2b4f4d2ffcbe8050f054d..3a32aa2d4f8831470bd3186ba65a97c82589b303 100644 (file)
@@ -108,7 +108,8 @@ function blockem_enotify_store(App $a, array &$b)
        }
 
        if ($found) {
-               $b['abort'] = true;
+               // empty out the fields
+               $b = [];
        }
 }
 
index aed125a6599ca4bb9f14cd419ce04d8257904083..e0b3ff83e9f859803e5e173aca6053c25492d9ee 100644 (file)
@@ -95,7 +95,8 @@ function superblock_enotify_store(&$a,&$b) {
                }
        }
        if ($found) {
-               $b['abort'] = true;
+               // Empty out the fields
+               $b = [];
        }
 }