From 6e7c6ab0fa46dc3ab2f35326bc1b2c747377d509 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 16 Mar 2018 21:47:34 -0400 Subject: [PATCH] Remove references to include/event --- include/text.php | 1 - mod/cal.php | 2 -- mod/dfrn_notify.php | 1 - mod/events.php | 1 - src/Content/Text/BBCode.php | 1 - src/Model/Item.php | 1 - src/Protocol/DFRN.php | 1 - 7 files changed, 8 deletions(-) diff --git a/include/text.php b/include/text.php index fe2b973e58..4efa308911 100644 --- a/include/text.php +++ b/include/text.php @@ -22,7 +22,6 @@ use Friendica\Util\DateTimeFormat; use Friendica\Util\Map; require_once "mod/proxy.php"; -require_once "include/event.php"; require_once "include/conversation.php"; /** diff --git a/mod/cal.php b/mod/cal.php index fdcb06a6f5..bf73408f42 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -22,8 +22,6 @@ use Friendica\Protocol\DFRN; use Friendica\Util\DateTimeFormat; use Friendica\Util\Temporal; -require_once 'include/event.php'; - function cal_init(App $a) { if ($a->argc > 1) { diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index db96729066..073226b829 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -14,7 +14,6 @@ use Friendica\Model\Contact; use Friendica\Protocol\DFRN; require_once 'include/items.php'; -require_once 'include/event.php'; function dfrn_notify_post(App $a) { logger(__function__, LOGGER_TRACE); diff --git a/mod/events.php b/mod/events.php index 54f4e79528..60827cac20 100644 --- a/mod/events.php +++ b/mod/events.php @@ -18,7 +18,6 @@ use Friendica\Model\Profile; use Friendica\Util\DateTimeFormat; use Friendica\Util\Temporal; -require_once 'include/event.php'; require_once 'include/items.php'; function events_init(App $a) { diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index b7e4207199..ebaef2b29d 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -28,7 +28,6 @@ use Friendica\Util\Network; use Friendica\Util\ParseUrl; use League\HTMLToMarkdown\HtmlConverter; -require_once "include/event.php"; require_once "mod/proxy.php"; class BBCode extends BaseObject diff --git a/src/Model/Item.php b/src/Model/Item.php index 64ca81a90b..bdb85af441 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -29,7 +29,6 @@ use Text_LanguageDetect; require_once 'boot.php'; require_once 'include/items.php'; require_once 'include/text.php'; -require_once 'include/event.php'; class Item extends BaseObject { diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 5fda6e6a75..429c5051ff 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -41,7 +41,6 @@ require_once 'boot.php'; require_once 'include/dba.php'; require_once "include/enotify.php"; require_once "include/items.php"; -require_once "include/event.php"; require_once "include/text.php"; /** -- 2.39.5