https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6436145
)
Partly Reverted #6583
author
Michael
<heluecht@pirati.ca>
Wed, 6 Feb 2019 07:31:29 +0000
(07:31 +0000)
committer
Michael
<heluecht@pirati.ca>
Wed, 6 Feb 2019 07:31:29 +0000
(07:31 +0000)
src/Worker/RemoveContact.php
patch
|
blob
|
history
diff --git
a/src/Worker/RemoveContact.php
b/src/Worker/RemoveContact.php
index
08c7c23
..
00027dc
100644
(file)
--- a/
src/Worker/RemoveContact.php
+++ b/
src/Worker/RemoveContact.php
@@
-24,7
+24,7
@@
class RemoveContact {
do {
$items = Item::select(['id'], $condition, ['limit' => 100]);
while ($item = Item::fetch($items)) {
-
Item::deleteById($item['id'], PRIORITY_NEGLIGIBLE
);
+
DBA::delete('item', ['id' => $item['id']]
);
}
DBA::close($items);
} while (Item::exists($condition));