mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:10:11 +00:00
Rename Item::delete* methods to Item::markForDeletion*
This commit is contained in:
parent
dd613cda45
commit
6ae5f705b6
7 changed files with 22 additions and 23 deletions
|
@ -220,7 +220,7 @@ class Processor
|
|||
$owner = Contact::getIdForURL($activity['actor']);
|
||||
|
||||
Logger::log('Deleting item ' . $activity['object_id'] . ' from ' . $owner, Logger::DEBUG);
|
||||
Item::delete(['uri' => $activity['object_id'], 'owner-id' => $owner]);
|
||||
Item::markForDeletion(['uri' => $activity['object_id'], 'owner-id' => $owner]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -868,7 +868,7 @@ class Processor
|
|||
return;
|
||||
}
|
||||
|
||||
Item::delete(['uri' => $activity['object_id'], 'author-id' => $author_id, 'gravity' => GRAVITY_ACTIVITY]);
|
||||
Item::markForDeletion(['uri' => $activity['object_id'], 'author-id' => $author_id, 'gravity' => GRAVITY_ACTIVITY]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue