]> git.mxchange.org Git - friendica.git/blobdiff - mod/p.php
Class file relocations
[friendica.git] / mod / p.php
index 2f94398404fa5fead1cb16c2a503408cdd460467..9c1c2b71de90ee54451e7766498502e33ed8a994 100644 (file)
--- a/mod/p.php
+++ b/mod/p.php
@@ -5,6 +5,7 @@ This file is part of the Diaspora protocol. It is used for fetching single publi
 
 use Friendica\App;
 use Friendica\Core\System;
+use Friendica\Database\DBM;
 use Friendica\Protocol\Diaspora;
 
 function p_init($a){
@@ -51,7 +52,7 @@ function p_init($a){
        $r = q("SELECT `user`.`prvkey`, `contact`.`addr`, `user`.`nickname`, `contact`.`nick` FROM `user`
                INNER JOIN `contact` ON `contact`.`uid` = `user`.`uid` AND `contact`.`self`
                WHERE `user`.`uid` = %d", intval($item[0]["uid"]));
-       if (!dbm::is_result($r)) {
+       if (!DBM::is_result($r)) {
                header($_SERVER["SERVER_PROTOCOL"].' 404 '.t('Not Found'));
                killme();
        }