From 37084c2c691005b6729b4b245a6d041a82ef7159 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 29 Oct 2018 11:52:44 -0400 Subject: [PATCH] remove includes remove references to include/text.php --- curweather/curweather.php | 2 -- forumdirectory/forumdirectory.php | 1 - fromgplus/fromgplus.php | 1 - ifttt/ifttt.php | 1 - smileybutton/smileybutton.php | 2 +- twitter/twitter.php | 1 - 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/curweather/curweather.php b/curweather/curweather.php index 80e245c6..6958ba3a 100644 --- a/curweather/curweather.php +++ b/curweather/curweather.php @@ -9,8 +9,6 @@ * */ -require_once 'include/text.php'; - use Friendica\App; use Friendica\Content\Text; use Friendica\Core\Addon; diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index 64e8c554..6f86f741 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -21,7 +21,6 @@ use Friendica\Util\Temporal; require_once 'boot.php'; require_once 'include/dba.php'; -require_once 'include/text.php'; function forumdirectory_install() { diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index 5971cf58..952917cc 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -22,7 +22,6 @@ use Friendica\Model\Item; require_once 'mod/share.php'; require_once 'mod/parse_url.php'; -require_once 'include/text.php'; function fromgplus_install() { Addon::registerHook('connector_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings'); diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index 780d6ad2..2dc09ed9 100644 --- a/ifttt/ifttt.php +++ b/ifttt/ifttt.php @@ -8,7 +8,6 @@ */ require_once 'mod/item.php'; require_once 'include/items.php'; -require_once 'include/text.php'; use Friendica\App; use Friendica\Content\Text; diff --git a/smileybutton/smileybutton.php b/smileybutton/smileybutton.php index 45865086..3f5ccb59 100644 --- a/smileybutton/smileybutton.php +++ b/smileybutton/smileybutton.php @@ -37,7 +37,7 @@ function show_button(Friendica\App $a, &$b) { /** * - * I have copied this from /include/text.php, removed doubles + * I have copied this from src/Content/Text.php, removed doubles * and escaped them. * */ diff --git a/twitter/twitter.php b/twitter/twitter.php index 92b2df12..80b13468 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -89,7 +89,6 @@ use Friendica\Util\Network; require_once 'boot.php'; require_once 'include/dba.php'; require_once 'include/enotify.php'; -require_once 'include/text.php'; require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';