Remove/Update references to include/html2*.php
This commit is contained in:
parent
5e806ff598
commit
789561c7a2
|
@ -372,7 +372,7 @@ include/cronhooks.php: Addon::callHooks('cron', $d);
|
|||
|
||||
include/security.php: Addon::callHooks('logged_in', $a->user);
|
||||
|
||||
include/html2bbcode.php: Addon::callHooks('html2bbcode', $text);
|
||||
src/Content/Text/HTML.php: Addon::callHooks('html2bbcode', $text);
|
||||
|
||||
include/Contact.php: Addon::callHooks('remove_user',$r[0]);
|
||||
|
||||
|
|
|
@ -265,7 +265,7 @@ include/cronhooks.php: Addon::callHooks('cron', $d);
|
|||
|
||||
include/security.php: Addon::callHooks('logged_in', $a->user);
|
||||
|
||||
include/html2bbcode.php: Addon::callHooks('html2bbcode', $text);
|
||||
src/Content/Text/HTML.php: Addon::callHooks('html2bbcode', $text);
|
||||
|
||||
include/Contact.php: Addon::callHooks('remove_user',$r[0]);
|
||||
|
||||
|
|
|
@ -42,11 +42,9 @@ use Friendica\Util\Network;
|
|||
use Friendica\Util\XML;
|
||||
|
||||
require_once 'include/conversation.php';
|
||||
require_once 'include/html2plain.php';
|
||||
require_once 'mod/share.php';
|
||||
require_once 'mod/item.php';
|
||||
require_once 'include/security.php';
|
||||
require_once 'include/html2bbcode.php';
|
||||
require_once 'mod/wall_upload.php';
|
||||
require_once 'mod/proxy.php';
|
||||
|
||||
|
|
|
@ -12,8 +12,6 @@ use Friendica\Database\DBM;
|
|||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Emailer;
|
||||
|
||||
require_once 'include/html2bbcode.php';
|
||||
|
||||
/**
|
||||
* @brief Creates a notification entry and possibly sends a mail
|
||||
*
|
||||
|
|
|
@ -368,8 +368,6 @@ function display_content(App $a, $update = false, $update_uid = 0) {
|
|||
$o .= conversation($a, $items, 'display', $update_uid);
|
||||
|
||||
// Preparing the meta header
|
||||
require_once 'include/html2plain.php';
|
||||
|
||||
$description = trim(HTML::toPlaintext(BBCode::convert($s[0]["body"], false), 0, true));
|
||||
$title = trim(HTML::toPlaintext(BBCode::convert($s[0]["title"], false), 0, true));
|
||||
$author_name = $s[0]["author-name"];
|
||||
|
|
|
@ -808,7 +808,6 @@ function item_post(App $a) {
|
|||
$link = '<a href="' . System::baseUrl() . '/profile/' . $a->user['nickname'] . '"><img src="' . $author['thumb'] . '" alt="' . $a->user['username'] . '" /></a><br /><br />';
|
||||
$html = prepare_body($datarray);
|
||||
$message = '<html><body>' . $link . $html . $disclaimer . '</body></html>';
|
||||
include_once 'include/html2plain.php';
|
||||
$params = [
|
||||
'fromName' => $a->user['username'],
|
||||
'fromEmail' => $a->user['email'],
|
||||
|
|
|
@ -46,8 +46,6 @@ function oexchange_content(App $a) {
|
|||
return;
|
||||
}
|
||||
|
||||
require_once('include/html2bbcode.php');
|
||||
|
||||
$post = [];
|
||||
|
||||
$post['profile_uid'] = local_user();
|
||||
|
|
|
@ -28,7 +28,6 @@ use Friendica\Util\ParseUrl;
|
|||
use League\HTMLToMarkdown\HtmlConverter;
|
||||
|
||||
require_once "include/event.php";
|
||||
require_once "include/html2plain.php";
|
||||
require_once "mod/proxy.php";
|
||||
|
||||
class BBCode extends BaseObject
|
||||
|
|
|
@ -10,8 +10,6 @@ use Friendica\BaseObject;
|
|||
use Friendica\Model\Contact;
|
||||
use Michelf\MarkdownExtra;
|
||||
|
||||
require_once 'include/html2bbcode.php';
|
||||
|
||||
/**
|
||||
* Friendica-specific usage of Markdown
|
||||
*
|
||||
|
|
|
@ -19,7 +19,6 @@ use Friendica\Util\Temporal;
|
|||
use Friendica\Util\XML;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2plain.php';
|
||||
|
||||
/**
|
||||
* @brief Methods for read and write notifications from/to database
|
||||
|
|
|
@ -20,7 +20,6 @@ use dba;
|
|||
use Exception;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2bbcode.php';
|
||||
|
||||
/**
|
||||
* @brief This class handles GlobalContact related functions
|
||||
|
|
|
@ -42,7 +42,6 @@ require_once "include/enotify.php";
|
|||
require_once "include/items.php";
|
||||
require_once "include/event.php";
|
||||
require_once "include/text.php";
|
||||
require_once "include/html2bbcode.php";
|
||||
|
||||
/**
|
||||
* @brief This class contain functions to create and send DFRN XML files
|
||||
|
|
|
@ -6,8 +6,6 @@ namespace Friendica\Protocol;
|
|||
|
||||
use Friendica\Content\Text\HTML;
|
||||
|
||||
require_once 'include/html2plain.php';
|
||||
|
||||
/**
|
||||
* @brief Email class
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,6 @@ use DOMDocument;
|
|||
use DOMXPath;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2bbcode.php';
|
||||
require_once 'include/items.php';
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,7 +26,6 @@ use DOMDocument;
|
|||
use DOMXPath;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2bbcode.php';
|
||||
require_once 'include/items.php';
|
||||
require_once 'mod/share.php';
|
||||
require_once 'include/enotify.php';
|
||||
|
|
|
@ -24,7 +24,6 @@ use DOMXPath;
|
|||
use Exception;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2bbcode.php';
|
||||
|
||||
class PortableContact
|
||||
{
|
||||
|
|
|
@ -17,7 +17,6 @@ use Friendica\Protocol\Diaspora;
|
|||
use Friendica\Protocol\Email;
|
||||
use dba;
|
||||
|
||||
require_once 'include/html2plain.php';
|
||||
require_once 'include/items.php';
|
||||
|
||||
/// @todo This is some ugly code that needs to be split into several methods
|
||||
|
|
|
@ -18,7 +18,6 @@ use Friendica\Protocol\Salmon;
|
|||
use dba;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2plain.php';
|
||||
require_once 'include/items.php';
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue