Rename class to BBCode
Rename Plaintext class to BBCode
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
namespace Friendica\Protocol;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Text\Plaintext;
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
@@ -1206,7 +1206,7 @@ class OStatus
|
||||
*/
|
||||
private static function formatPicturePost($body)
|
||||
{
|
||||
$siteinfo = Plaintext::getAttachedData($body);
|
||||
$siteinfo = BBCode::getAttachedData($body);
|
||||
|
||||
if (($siteinfo["type"] == "photo")) {
|
||||
if (isset($siteinfo["preview"])) {
|
||||
@@ -1328,7 +1328,7 @@ class OStatus
|
||||
private static function getAttachment($doc, $root, $item)
|
||||
{
|
||||
$o = "";
|
||||
$siteinfo = Plaintext::getAttachedData($item["body"]);
|
||||
$siteinfo = BBCode::getAttachedData($item["body"]);
|
||||
|
||||
switch ($siteinfo["type"]) {
|
||||
case 'photo':
|
||||
|
||||
Reference in New Issue
Block a user