Added the new parameter to the delete function.

This commit is contained in:
Michael
2018-05-26 21:38:45 +00:00
parent 708ddf2b02
commit 54136f3a74
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -545,7 +545,7 @@ function events_content(App $a) {
// Delete only real events (no birthdays)
if (DBM::is_result($ev) && $ev[0]['type'] == 'event') {
$del = Item::deleteById($ev[0]['itemid']);
$del = Item::deleteById($ev[0]['itemid'], PRIORITY_HIGH, local_user());
}
if ($del == 0) {