enotify: empty out fields instead of using "abort" for addons

pull/950/head
nupplaPhil 2020-01-28 01:12:41 +01:00
parent bfa25a197c
commit 2429f7eba8
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90
2 changed files with 4 additions and 2 deletions

View File

@ -108,7 +108,8 @@ function blockem_enotify_store(App $a, array &$b)
}
if ($found) {
$b['abort'] = true;
// empty out the fields
$b = [];
}
}

View File

@ -95,7 +95,8 @@ function superblock_enotify_store(&$a,&$b) {
}
}
if ($found) {
$b['abort'] = true;
// Empty out the fields
$b = [];
}
}