Priority and capitalisation

This commit is contained in:
Michael 2018-02-06 16:32:00 +00:00
parent e609de2957
commit 7be59dbeab

View file

@ -178,7 +178,7 @@ class Item extends BaseObject
// If it's the parent of a comment thread, kill all the kids // If it's the parent of a comment thread, kill all the kids
if ($item['id'] == $item['parent']) { if ($item['id'] == $item['parent']) {
self::delete(['parent' => $item['parent']]); self::delete(['parent' => $item['parent']], $priority);
} }
// send the notification upstream/downstream // send the notification upstream/downstream
@ -1683,7 +1683,7 @@ class Item extends BaseObject
continue; continue;
} }
self::deleteByID($item['id'], PRIORITY_LOW); self::deleteById($item['id'], PRIORITY_LOW);
} }
} }