mirror of
https://github.com/friendica/friendica
synced 2025-05-09 16:24:12 +02:00
Rename Model\Term methods
This commit is contained in:
parent
ef77a772e5
commit
2a5431a59e
6 changed files with 25 additions and 25 deletions
|
@ -69,8 +69,8 @@ class Item extends BaseObject
|
|||
continue;
|
||||
}
|
||||
|
||||
Term::insertFromItemId($item['id']);
|
||||
Term::insertFromItemFileById($item['id']);
|
||||
Term::insertFromTagFieldByItemId($item['id']);
|
||||
Term::insertFromFileFieldByItemId($item['id']);
|
||||
update_thread($item['id']);
|
||||
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", 'edit_post', $item['id']);
|
||||
|
@ -151,8 +151,8 @@ class Item extends BaseObject
|
|||
'edited' => DateTimeFormat::utcNow(), 'changed' => DateTimeFormat::utcNow()],
|
||||
['id' => $item['id']]);
|
||||
|
||||
Term::insertFromItemId($item['id']);
|
||||
Term::insertFromItemFileById($item['id']);
|
||||
Term::insertFromTagFieldByItemId($item['id']);
|
||||
Term::insertFromFileFieldByItemId($item['id']);
|
||||
delete_thread($item['id'], $item['parent-uri']);
|
||||
|
||||
// If it's the parent of a comment thread, kill all the kids
|
||||
|
@ -790,8 +790,8 @@ 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.
|
||||
*/
|
||||
Term::insertFromItemId($current_post);
|
||||
Term::insertFromItemFileById($current_post);
|
||||
Term::insertFromTagFieldByItemId($current_post);
|
||||
Term::insertFromFileFieldByItemId($current_post);
|
||||
|
||||
if ($arr['parent-uri'] === $arr['uri']) {
|
||||
self::addShadow($current_post);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue