X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FRemoveUser.php;h=c7179a4e3d6546c462ad800d90d92259446cfa48;hb=066ad8c01b25b7101ad6fb36878d85c97db51a6f;hp=d8966e5a491f661c10bf536e799c60dd206f4b53;hpb=d6b31dad061471d6f65272f511a4484fbfa1a01e;p=friendica.git diff --git a/src/Worker/RemoveUser.php b/src/Worker/RemoveUser.php index d8966e5a49..c7179a4e3d 100644 --- a/src/Worker/RemoveUser.php +++ b/src/Worker/RemoveUser.php @@ -8,8 +8,6 @@ namespace Friendica\Worker; use Friendica\Database\DBA; use Friendica\Model\Item; -require_once 'include/dba.php'; - class RemoveUser { public static function execute($uid) { @@ -24,7 +22,7 @@ class RemoveUser { do { $items = Item::select(['id'], $condition, ['limit' => 100]); while ($item = Item::fetch($items)) { - Item::deleteById($item['id'], PRIORITY_LOW); + Item::deleteById($item['id'], PRIORITY_NEGLIGIBLE); } DBA::close($items); } while (Item::exists($condition));