]> git.mxchange.org Git - friendica.git/commitdiff
Review updates
authorAdam Magness <adam.magness@gmail.com>
Wed, 8 Nov 2017 13:34:48 +0000 (08:34 -0500)
committerAdam Magness <adam.magness@gmail.com>
Wed, 8 Nov 2017 13:37:03 +0000 (08:37 -0500)
Documentation and yet another use statement

doc/Developer-How-To-Move-Classes-to-src.md
doc/autoloader.md
include/api.php

index 90f99ec380e04c5e11816f95c89e1ddf4709271c..134c2a1f5ecaaaffa0dd7f6e530eda523816f22f 100644 (file)
@@ -80,7 +80,7 @@ if (\DBM::is_result($r)) {
 ````php
 namespace Friendica\Core;
 
-use \dbm;
+use Friendica\Database\DBM;
 
 if (DBM::is_result($r)) {
     ...
index e9ceb1aaf50a1682a86ff3cf2a8a12f1ff85c23b..29d3a005fdb0c1fc9f2aa9cf678353e2098d68cb 100644 (file)
@@ -104,7 +104,7 @@ class Dfrn {
 
 mail_post($a){
        ...
-       Friendica\DFRN::mail($item, $owner);
+       Friendica\Protocol\DFRN::mail($item, $owner);
        ...
 }
 ```
index c304538af7fd335fe03408f517337c88d2458534..594e68d519ef841c9a803007a0b000502eee445c 100644 (file)
@@ -12,6 +12,7 @@ use Friendica\Core\Config;
 use Friendica\Core\NotificationsManager;
 use Friendica\Core\Worker;
 use Friendica\Database\DBM;
+use Friendica\Protocol\Diaspora;
 
 require_once 'include/HTTPExceptions.php';
 require_once 'include/bbcode.php';