]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Remove deprecated code
[friendica.git] / src / Protocol / Diaspora.php
index 3b946e702ba0ae2f44fdd4b6b74790f4421909ce..bff56d5af39bbe9864bde864364758432709bdde 100644 (file)
@@ -408,7 +408,7 @@ class Diaspora
        }
 
        /**
-        * @brief: Decodes incoming Diaspora message in the new format
+        * Decodes incoming Diaspora message in the new format
         *
         * @param string  $raw      raw post message
         * @param string  $privKey   The private key of the importer
@@ -514,7 +514,7 @@ class Diaspora
        }
 
        /**
-        * @brief: Decodes incoming Diaspora message in the deprecated format
+        * Decodes incoming Diaspora message in the deprecated format
         *
         * @param string $xml      urldecoded Diaspora salmon
         * @param string $privKey  The private key of the importer
@@ -4092,7 +4092,7 @@ class Diaspora
                        FROM `profile`
                        INNER JOIN `user` ON `profile`.`uid` = `user`.`uid`
                        INNER JOIN `contact` ON `profile`.`uid` = `contact`.`uid`
-                       WHERE `user`.`uid` = %d AND `profile`.`is-default` AND `contact`.`self` LIMIT 1",
+                       WHERE `user`.`uid` = %d AND `contact`.`self` LIMIT 1",
                        intval($uid)
                );