Update function names and calls

update function names and calls from other files
This commit is contained in:
Adam Magness 2018-02-05 07:47:06 -05:00
parent f4fa8f085b
commit 7ffcb25321
7 changed files with 30 additions and 26 deletions

View file

@ -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);