mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
All references to the item table had been removed
This commit is contained in:
parent
ad968ab2c9
commit
05a805398e
5 changed files with 14 additions and 14 deletions
|
@ -853,7 +853,7 @@ function twitter_expire(App $a)
|
|||
$r = Post::select(['id', 'guid'], ['deleted' => true, 'network' => Protocol::TWITTER]);
|
||||
while ($row = Post::fetch($r)) {
|
||||
Logger::info('[twitter] Delete expired item', ['id' => $row['id'], 'guid' => $row['guid'], 'callstack' => \Friendica\Core\System::callstack()]);
|
||||
DBA::delete('item', ['id' => $row['id']]);
|
||||
Item::markForDeletionById($row['id']);
|
||||
}
|
||||
DBA::close($r);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue