From 510e0dbb2e98758899afd8f69be64e3bb92f68a1 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Tue, 9 Jan 2018 22:48:15 -0500 Subject: [PATCH] Remove requires remove old require_once --- include/acl_selectors.php | 1 - mod/crepair.php | 1 - mod/follow.php | 1 - mod/unfollow.php | 2 -- 4 files changed, 5 deletions(-) diff --git a/include/acl_selectors.php b/include/acl_selectors.php index 02ab95bb1e..b71173e251 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -9,7 +9,6 @@ use Friendica\Database\DBM; use Friendica\Model\Contact; use Friendica\Model\GContact; -require_once "include/contact_selectors.php"; require_once "include/contact_widgets.php"; require_once "mod/proxy.php"; diff --git a/mod/crepair.php b/mod/crepair.php index 1a135a602f..12bfc302f7 100644 --- a/mod/crepair.php +++ b/mod/crepair.php @@ -8,7 +8,6 @@ use Friendica\Core\Config; use Friendica\Database\DBM; use Friendica\Model\Contact; -require_once 'include/contact_selectors.php'; require_once 'mod/contacts.php'; function crepair_init(App $a) diff --git a/mod/follow.php b/mod/follow.php index 503410fd09..2194321de8 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -8,7 +8,6 @@ use Friendica\Core\System; use Friendica\Model\Contact; use Friendica\Network\Probe; -require_once 'include/contact_selectors.php'; function follow_post(App $a) { diff --git a/mod/unfollow.php b/mod/unfollow.php index 98ad9fd026..046fdfe7d6 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -7,8 +7,6 @@ use Friendica\Core\System; use Friendica\Database\DBM; use Friendica\Model\Contact; -require_once 'include/contact_selectors.php'; - function unfollow_post(App $a) { if (!local_user()) { -- 2.39.5