* @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)
{
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();
}
for ($x = 0; $x < count($groups); $x ++) {
$groups[$x] = '<' . intval($groups[$x]) . '>' ;
}
+
$gs = implode('|', $groups);
} else {
$gs = '<<>>' ; // Impossible to match