]> git.mxchange.org Git - friendica.git/commitdiff
Use more
authorAdam Magness <adam.magness@gmail.com>
Wed, 8 Nov 2017 12:48:31 +0000 (07:48 -0500)
committerAdam Magness <adam.magness@gmail.com>
Wed, 8 Nov 2017 13:37:03 +0000 (08:37 -0500)
More use statements based on error logs.

src/Protocol/DFRN.php
src/Protocol/Diaspora.php

index 0efb07cbbcb3d1c67d194d30ea2a2192cfeb98e7..bfb0d445c95957c8a3911d37eb9fb2a174b343a5 100644 (file)
@@ -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
index c790923f91112bccaa1b660f1f5d0aed532d34ad..c4ac5d924e005400eba8826b31cdbec8b0c02473 100644 (file)
@@ -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';