Remove/Update references to include/html2*.php
This commit is contained in:
parent
5e806ff598
commit
789561c7a2
18 changed files with 2 additions and 24 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue