From: Adam Magness Date: Wed, 10 Jan 2018 03:48:15 +0000 (-0500) Subject: Remove requires X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=510e0dbb2e98758899afd8f69be64e3bb92f68a1;p=friendica.git Remove requires remove old require_once --- 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()) {