X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FItemContent.php;h=6d03ae3253b28c8e51ae6de236b9b5803756c248;hb=08da1ed038c9b193ded0ca70b3b1c1085bb7e90a;hp=c51f471d8585b4d84fb7fdbb582adebd8fef4785;hpb=e06fc2aa6900d8cf5ae4e8d5cf52f9262bf7ada7;p=friendica.git diff --git a/src/Model/ItemContent.php b/src/Model/ItemContent.php index c51f471d85..6d03ae3253 100644 --- a/src/Model/ItemContent.php +++ b/src/Model/ItemContent.php @@ -11,10 +11,6 @@ use Friendica\Content\Text; use Friendica\Core\PConfig; use Friendica\Core\Protocol; -require_once 'boot.php'; -require_once 'include/items.php'; -require_once 'include/text.php'; - class ItemContent extends BaseObject { /** @@ -26,9 +22,10 @@ class ItemContent extends BaseObject * @param int $htmlmode This controls the behavior of the BBCode conversion * @param string $target_network Name of the network where the post should go to. * - * @see \Friendica\Content\Text\BBCode::getAttachedData - * * @return array Same array structure than \Friendica\Content\Text\BBCode::getAttachedData + * @throws \Friendica\Network\HTTPException\InternalServerErrorException + * @see \Friendica\Content\Text\BBCode::getAttachedData + * */ public static function getPlaintextPost($item, $limit = 0, $includedlinks = false, $htmlmode = 2, $target_network = '') {