mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
The "icid" field is deprecated
This commit is contained in:
parent
4908afad8f
commit
a773a72eaa
5 changed files with 25 additions and 45 deletions
|
@ -53,7 +53,7 @@ class Expire
|
|||
// Normally we shouldn't have orphaned data at all.
|
||||
// If we do have some, then we have to check why.
|
||||
Logger::log('Deleting orphaned item content - start', Logger::DEBUG);
|
||||
$condition = ["NOT EXISTS (SELECT `icid` FROM `item` WHERE `item`.`icid` = `item-content`.`id`)"];
|
||||
$condition = ["NOT EXISTS (SELECT `uri-id` FROM `item` WHERE `item`.`uri-id` = `item-content`.`uri-id`)"];
|
||||
DBA::delete('item-content', $condition);
|
||||
Logger::log('Orphaned item content deleted: ' . DBA::affectedRows(), Logger::DEBUG);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue