enotify: empty out fields instead of using "abort" for addons
This commit is contained in:
@@ -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 = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user