forked from friendica/friendica-addons
Merge pull request #950 from nupplaphil/bug/8182_another_notification_bug
[various] enotify: empty out fields instead of using "abort" for addons
This commit is contained in:
commit
30eb87e939
2 changed files with 4 additions and 2 deletions
|
@ -108,7 +108,8 @@ function blockem_enotify_store(App $a, array &$b)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($found) {
|
if ($found) {
|
||||||
$b['abort'] = true;
|
// empty out the fields
|
||||||
|
$b = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,8 @@ function superblock_enotify_store(&$a,&$b) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($found) {
|
if ($found) {
|
||||||
$b['abort'] = true;
|
// Empty out the fields
|
||||||
|
$b = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue