mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Function calls
update function calls to new class
This commit is contained in:
parent
d50a1edef4
commit
e537f7d017
6 changed files with 10 additions and 10 deletions
|
@ -1363,7 +1363,7 @@ class BBCode extends BaseObject
|
|||
$text = preg_replace("/\[mail\=([$MAILSearchString]*)\](.*?)\[\/mail\]/", '<a href="mailto:$1">$2</a>', $text);
|
||||
|
||||
// leave open the posibility of [map=something]
|
||||
// this is replaced in prepare_body() which has knowledge of the item location
|
||||
// this is replaced in Item::prepareBody() which has knowledge of the item location
|
||||
|
||||
if (strpos($text, '[/map]') !== false) {
|
||||
$text = preg_replace_callback(
|
||||
|
@ -1474,7 +1474,7 @@ class BBCode extends BaseObject
|
|||
|
||||
$text = str_replace('[hr]', '<hr />', $text);
|
||||
|
||||
// This is actually executed in prepare_body()
|
||||
// This is actually executed in Item::prepareBody()
|
||||
|
||||
$text = str_replace('[nosmile]', '', $text);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue