mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
Refactor bbcode() into BBCode::convert()
This commit is contained in:
parent
f4e38b6ee9
commit
91fd77af3b
12 changed files with 37 additions and 23 deletions
|
@ -6,6 +6,7 @@
|
|||
* Author: Michael Vogel <http://pirati.ca/profile/heluecht>
|
||||
*/
|
||||
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
|
@ -475,7 +476,7 @@ function pumpio_send(&$a,&$b) {
|
|||
|
||||
$title = trim($b['title']);
|
||||
|
||||
$content = bbcode($b['body'], false, false, 4);
|
||||
$content = BBCode::convert($b['body'], false, 4);
|
||||
|
||||
$params = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue