]> git.mxchange.org Git - friendica.git/blobdiff - mod/xrd.php
Merge pull request #4008 from zeroadam/Oauth-#3878
[friendica.git] / mod / xrd.php
index 60f78ed27c7563b725f2934ea0e0ee7d521f3783..49fdde25448a215881883802971c00d64dc529ca 100644 (file)
@@ -2,6 +2,7 @@
 
 use Friendica\App;
 use Friendica\Core\System;
+use Friendica\Database\DBM;
 
 require_once('include/crypto.php');
 
@@ -33,7 +34,7 @@ function xrd_init(App $a) {
        }
 
        $r = dba::select('user', array(), array('nickname' => $name), array('limit' => 1));
-       if (!dbm::is_result($r)) {
+       if (!DBM::is_result($r)) {
                killme();
        }
 
@@ -93,7 +94,6 @@ function xrd_xml($a, $uri, $alias, $profile_url, $r) {
                '$profile_url' => $profile_url,
                '$hcard_url'   => System::baseUrl() . '/hcard/'         . $r['nickname'],
                '$atom'        => System::baseUrl() . '/dfrn_poll/'     . $r['nickname'],
-               '$zot_post'    => System::baseUrl() . '/post/'          . $r['nickname'],
                '$poco_url'    => System::baseUrl() . '/poco/'          . $r['nickname'],
                '$photo'       => System::baseUrl() . '/photo/profile/' . $r['uid']      . '.jpg',
                '$baseurl' => System::baseUrl(),