mirror of
https://github.com/friendica/friendica
synced 2025-05-09 16:24:12 +02:00
Replace references to include/tags functions
This commit is contained in:
parent
d00c6111fd
commit
9f3acceac7
5 changed files with 15 additions and 13 deletions
|
@ -70,7 +70,7 @@ class Item extends BaseObject
|
|||
continue;
|
||||
}
|
||||
|
||||
create_tags_from_item($item['id']);
|
||||
Term::insertFromItemId($item['id']);
|
||||
Term::insertFromItemFileById($item['id']);
|
||||
update_thread($item['id']);
|
||||
|
||||
|
@ -152,7 +152,7 @@ class Item extends BaseObject
|
|||
'edited' => DateTimeFormat::utcNow(), 'changed' => DateTimeFormat::utcNow()],
|
||||
['id' => $item['id']]);
|
||||
|
||||
create_tags_from_item($item['id']);
|
||||
Term::insertFromItemId($item['id']);
|
||||
Term::insertFromItemFileById($item['id']);
|
||||
delete_thread($item['id'], $item['parent-uri']);
|
||||
|
||||
|
@ -791,7 +791,7 @@ class Item extends BaseObject
|
|||
* Due to deadlock issues with the "term" table we are doing these steps after the commit.
|
||||
* This is not perfect - but a workable solution until we found the reason for the problem.
|
||||
*/
|
||||
create_tags_from_item($current_post);
|
||||
Term::insertFromItemId($current_post);
|
||||
Term::insertFromItemFileById($current_post);
|
||||
|
||||
if ($arr['parent-uri'] === $arr['uri']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue