From a61ffa92000234f76d9bcbd9f75340ac2862d81b Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Wed, 8 Nov 2017 07:48:31 -0500 Subject: [PATCH] Use more More use statements based on error logs. --- src/Protocol/DFRN.php | 4 ++-- src/Protocol/Diaspora.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 0efb07cbbc..bfb0d445c9 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -17,9 +17,10 @@ use Friendica\Database\DBM; use dba; use DOMDocument; use DomXPath; +use ostatus; +use xml; require_once("include/Contact.php"); -require_once("include/ostatus.php"); require_once("include/enotify.php"); require_once("include/threads.php"); require_once("include/socgraph.php"); @@ -31,7 +32,6 @@ require_once("include/text.php"); require_once("include/oembed.php"); require_once("include/html2bbcode.php"); require_once("include/bbcode.php"); -require_once("include/xml.php"); /** * @brief This class contain functions to create and send DFRN XML files diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index c790923f91..c4ac5d924e 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -20,6 +20,7 @@ use Friendica\Network\Probe; use dba; use SimpleXMLElement; +use xml; require_once 'include/items.php'; require_once 'include/bb2diaspora.php'; @@ -27,7 +28,6 @@ require_once 'include/Contact.php'; require_once 'include/Photo.php'; require_once 'include/socgraph.php'; require_once 'include/group.php'; -require_once 'include/xml.php'; require_once 'include/datetime.php'; require_once 'include/queue_fn.php'; require_once 'include/cache.php'; -- 2.39.5