mirror of
https://github.com/friendica/friendica
synced 2025-05-11 05:04:10 +02:00
Rename PageInfo::appendToBody to searchAndAppendToBody
This commit is contained in:
parent
e67dbd9747
commit
25b3fa83fc
4 changed files with 5 additions and 5 deletions
|
@ -2622,7 +2622,7 @@ class Diaspora
|
|||
$item["body"] = self::replacePeopleGuid($item["body"], $item["author-link"]);
|
||||
|
||||
// Add OEmbed and other information to the body
|
||||
$item["body"] = PageInfo::appendToBody($item["body"], false, true);
|
||||
$item["body"] = PageInfo::searchAndAppendToBody($item["body"], false, true);
|
||||
|
||||
return $item;
|
||||
} else {
|
||||
|
@ -2986,7 +2986,7 @@ class Diaspora
|
|||
|
||||
// Add OEmbed and other information to the body
|
||||
if (!self::isHubzilla($contact["url"])) {
|
||||
$body = PageInfo::appendToBody($body, false, true);
|
||||
$body = PageInfo::searchAndAppendToBody($body, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue