From: Adam Magness Date: Mon, 5 Feb 2018 12:48:42 +0000 (-0500) Subject: Remove requires X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4be49e706b3c09566a32972c981f9d0d0aa64518;p=friendica.git Remove requires remove require_once for old file --- diff --git a/include/items.php b/include/items.php index 56c834e44d..6d73912579 100644 --- a/include/items.php +++ b/include/items.php @@ -21,7 +21,6 @@ use Friendica\Util\Temporal; require_once 'include/bbcode.php'; require_once 'include/text.php'; -require_once 'include/threads.php'; require_once 'mod/share.php'; require_once 'include/enotify.php'; diff --git a/mod/starred.php b/mod/starred.php index 364d5c5957..5338b6c1de 100644 --- a/mod/starred.php +++ b/mod/starred.php @@ -8,9 +8,6 @@ use Friendica\Database\DBM; use Friendica\Model\Item; function starred_init(App $a) { - - require_once("include/threads.php"); - $starred = 0; if (! local_user()) { diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index d4ad345626..423f87aa90 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -40,7 +40,6 @@ use HTMLPurifier_Config; require_once 'boot.php'; require_once 'include/dba.php'; require_once "include/enotify.php"; -require_once "include/threads.php"; require_once "include/items.php"; require_once "include/event.php"; require_once "include/text.php"; diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index d6d6bd152d..8688b5a7f9 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -25,7 +25,6 @@ use DOMDocument; use DOMXPath; require_once 'include/dba.php'; -require_once 'include/threads.php'; require_once 'include/html2bbcode.php'; require_once 'include/bbcode.php'; require_once 'include/items.php';