mirror of
https://github.com/friendica/friendica
synced 2025-04-28 17:04:23 +02:00
Update function names and calls
update function names and calls from other files
This commit is contained in:
parent
f4fa8f085b
commit
7ffcb25321
7 changed files with 30 additions and 26 deletions
|
@ -2092,7 +2092,7 @@ class DFRN
|
|||
dba::update('item', $fields, $condition);
|
||||
|
||||
Term::insertFromTagFieldByItemUri($item["uri"], $importer["importer_uid"]);
|
||||
update_thread_uri($item["uri"], $importer["importer_uid"]);
|
||||
Item::updateThreadFromUri($item["uri"], $importer["importer_uid"]);
|
||||
|
||||
$changed = true;
|
||||
|
||||
|
@ -2841,7 +2841,7 @@ class DFRN
|
|||
);
|
||||
Term::insertFromTagFieldByItemUri($uri, $importer["uid"]);
|
||||
Term::insertFromFileFieldByItemUri($uri, $importer["uid"]);
|
||||
update_thread_uri($uri, $importer["uid"]);
|
||||
Item::updateThreadFromUri($uri, $importer["uid"]);
|
||||
} else {
|
||||
$r = q(
|
||||
"UPDATE `item` SET `deleted` = 1, `edited` = '%s', `changed` = '%s',
|
||||
|
@ -2854,7 +2854,7 @@ class DFRN
|
|||
);
|
||||
Term::insertFromTagFieldByItemUri($uri, $importer["uid"]);
|
||||
Term::insertFromFileFieldByItemUri($uri, $importer["uid"]);
|
||||
update_thread_uri($uri, $importer["importer_uid"]);
|
||||
Item::updateThreadFromUri($uri, $importer["importer_uid"]);
|
||||
|
||||
// if this is a relayed delete, propagate it to other recipients
|
||||
|
||||
|
|
|
@ -2857,7 +2857,7 @@ class Diaspora
|
|||
|
||||
// Delete the thread - if it is a starting post and not a comment
|
||||
if ($target_type != 'Comment') {
|
||||
delete_thread($item["id"], $item["parent-uri"]);
|
||||
Item::deleteThread($item["id"], $item["parent-uri"]);
|
||||
}
|
||||
|
||||
logger("Deleted target ".$target_guid." (".$item["id"].") from user ".$item["uid"]." parent: ".$item["parent"], LOGGER_DEBUG);
|
||||
|
|
|
@ -562,7 +562,7 @@ class OStatus
|
|||
['id' => $deleted["id"]]
|
||||
);
|
||||
|
||||
delete_thread($deleted["id"], $deleted["parent-uri"]);
|
||||
Item::deleteThread($deleted["id"], $deleted["parent-uri"]);
|
||||
|
||||
logger('Deleted item with uri '.$item['uri'].' for user '.$item['uid']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue