]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
was a bit confusing for me or I was not sleeping to much ...
[friendica.git] / src / Protocol / DFRN.php
index 5a0151c1ca346191cd190fd87e473295669c463c..125d41fe654c74e6b5e307a0aab452d3e6245760 100644 (file)
@@ -96,7 +96,6 @@ class DFRN
         * @param boolean $onlyheader  Output only the header without content? (Default is "no")
         *
         * @return string DFRN feed entries
-        * @todo Find proper type-hints
         */
        public static function feed($dfrn_id, $owner_nick, $last_update, $direction = 0, $onlyheader = false)
        {
@@ -132,7 +131,7 @@ class DFRN
                        dbesc($owner_nick)
                );
 
-               if (! dbm::is_result($r)) {
+               if (! DBM::is_result($r)) {
                        logger(sprintf('No contact found for nickname=%d', $owner_nick), LOGGER_WARNING);
                        killme();
                }
@@ -181,6 +180,7 @@ class DFRN
                                for ($x = 0; $x < count($groups); $x ++) {
                                        $groups[$x] = '<' . intval($groups[$x]) . '>' ;
                                }
+
                                $gs = implode('|', $groups);
                        } else {
                                $gs = '<<>>' ; // Impossible to match