Remove references to include/bbcode.php

This commit is contained in:
Hypolite Petovan 2018-02-14 22:04:06 -05:00
parent 16c3c2b93a
commit 88ca2f5a1e
12 changed files with 2 additions and 24 deletions

View file

@ -211,8 +211,8 @@ function windowsphonepush_cron()
if (substr($body, 0, 4) == "[url") {
$body = "URL/Image ...";
} else {
require_once('include/bbcode.php');
require_once("include/html2plain.php");
$body = BBCode::convert($body, false, 2, true);
$body = html2plain($body, 0);
$body = ((strlen($body) > 137) ? substr($body, 0, 137) . "..." : $body);