mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-19 01:23:41 +00:00
enotify: empty out fields instead of using "abort" for addons
This commit is contained in:
parent
bfa25a197c
commit
2429f7eba8
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