From 4be49e706b3c09566a32972c981f9d0d0aa64518 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 5 Feb 2018 07:48:42 -0500 Subject: [PATCH] Remove requires remove require_once for old file --- include/items.php | 1 - mod/starred.php | 3 --- src/Protocol/DFRN.php | 1 - src/Protocol/OStatus.php | 1 - 4 files changed, 6 deletions(-) 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'; -- 2.39.5