mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:50:12 +00:00
Many item calls are now isolated in a single function
This commit is contained in:
parent
c8cc7f13f1
commit
e609de2957
23 changed files with 161 additions and 387 deletions
|
@ -395,7 +395,7 @@ class OnePoll
|
|||
if (($mailconf['action'] != 1) && ($mailconf['action'] != 3))
|
||||
if ($meta->deleted && ! $item['deleted']) {
|
||||
$fields = ['deleted' => true, 'changed' => DateTimeFormat::utcNow()];
|
||||
dba::update('item', $fields, ['id' => $item['id']]);
|
||||
Item::update($fields, ['id' => $item['id']]);
|
||||
}
|
||||
|
||||
switch ($mailconf['action']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue