mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Update Addon functions and calls
Update function names and calls for Addon class.
This commit is contained in:
parent
213f6ae1a1
commit
11cf36105c
73 changed files with 544 additions and 464 deletions
|
@ -8,6 +8,7 @@
|
|||
* https://github.com/annando/Syncom
|
||||
*/
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
function node2bbcode(&$doc, $oldnode, $attributes, $startbb, $endbb)
|
||||
|
@ -261,7 +262,7 @@ function html2bbcode($message, $basepath = '')
|
|||
$message = preg_replace('=\r *\r=i', "\n", $message);
|
||||
$message = str_replace("\r", "\n", $message);
|
||||
|
||||
call_hooks('html2bbcode', $message);
|
||||
Addon::callHooks('html2bbcode', $message);
|
||||
|
||||
$message = strip_tags($message);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue