]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
Remove deprecated code
[friendica.git] / src / Protocol / OStatus.php
index 225c2ec2b447c5341af3237909c7076bd61c46be..dc30b596fcc2b54098e3dc7e3db1a4dacff18ced 100644 (file)
@@ -1428,7 +1428,7 @@ class OStatus
         */
        private static function addAuthor(DOMDocument $doc, array $owner, $show_profile = true)
        {
-               $profile = DBA::selectFirst('profile', ['homepage', 'publish'], ['uid' => $owner['uid'], 'is-default' => true]);
+               $profile = DBA::selectFirst('profile', ['homepage', 'publish'], ['uid' => $owner['uid']]);
                $author = $doc->createElement("author");
                XML::addElement($doc, $author, "id", $owner["url"]);
                if ($owner['account-type'] == User::ACCOUNT_TYPE_COMMUNITY) {