mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:00:16 +00:00
Case changed
This commit is contained in:
parent
6fb5e13b08
commit
0de458e134
1 changed files with 3 additions and 3 deletions
|
@ -1664,7 +1664,7 @@ class Transmitter
|
|||
|
||||
$shared = BBCode::fetchShareAttributes($body);
|
||||
if (!empty($shared['link']) && !empty($shared['guid']) && !empty($shared['comment'])) {
|
||||
$body = self::ReplaceSharedData($body);
|
||||
$body = self::replaceSharedData($body);
|
||||
$data['quoteUrl'] = $shared['link'];
|
||||
}
|
||||
|
||||
|
@ -1680,7 +1680,7 @@ class Transmitter
|
|||
|
||||
$shared = BBCode::fetchShareAttributes($richbody);
|
||||
if (!empty($shared['link']) && !empty($shared['guid']) && !empty($shared['comment'])) {
|
||||
$richbody = self::ReplaceSharedData($richbody);
|
||||
$richbody = self::replaceSharedData($richbody);
|
||||
}
|
||||
|
||||
$richbody = BBCode::removeAttachment($richbody);
|
||||
|
@ -1716,7 +1716,7 @@ class Transmitter
|
|||
* @param string $body
|
||||
* @return string
|
||||
*/
|
||||
private static function ReplaceSharedData(string $body): string
|
||||
private static function replaceSharedData(string $body): string
|
||||
{
|
||||
return BBCode::convertShare(
|
||||
$body,
|
||||
|
|
Loading…
Reference in a new issue