]> git.mxchange.org Git - friendica-addons.git/blobdiff - windowsphonepush/windowsphonepush.php
Remove references to include/bbcode.php
[friendica-addons.git] / windowsphonepush / windowsphonepush.php
index 346f550f2de841828d00413adaee6e98d56d1bcb..206b0883e4b03241db96b7909d50ea28372a853e 100644 (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);