mirror of
https://github.com/friendica/friendica
synced 2025-04-28 12:24:23 +02:00
Rename class to BBCode
Rename Plaintext class to BBCode
This commit is contained in:
parent
c437b0c871
commit
177edd2b6e
5 changed files with 13 additions and 13 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue