Rename Item::delete* methods to Item::markForDeletion*

This commit is contained in:
Hypolite Petovan 2020-03-03 01:47:28 -05:00
parent dd613cda45
commit 6ae5f705b6
7 changed files with 22 additions and 23 deletions

View file

@ -48,7 +48,7 @@ class Delete extends BaseAdmin
}
// Now that we have the GUID, drop those items, which will also delete the
// associated threads.
Item::delete(['guid' => $guid]);
Item::markForDeletion(['guid' => $guid]);
}
info(DI::l10n()->t('Item marked for deletion.') . EOL);