Continued:
- added spaces and curly braces - added more TODOs as there really more to be done Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
35ada99954
commit
25fd270959
1 changed files with 11 additions and 11 deletions
|
@ -81,7 +81,7 @@ class DFRN
|
||||||
$root->appendChild($entry);
|
$root->appendChild($entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
return(trim($doc->saveXML()));
|
return trim($doc->saveXML());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -221,11 +221,9 @@ class DFRN
|
||||||
//$sql_extra .= file_tag_file_query('item',$category,'category');
|
//$sql_extra .= file_tag_file_query('item',$category,'category');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($public_feed) {
|
if ($public_feed && ! $converse) {
|
||||||
if (! $converse) {
|
|
||||||
$sql_extra .= " AND `contact`.`self` = 1 ";
|
$sql_extra .= " AND `contact`.`self` = 1 ";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$check_date = DateTimeFormat::utc($last_update);
|
$check_date = DateTimeFormat::utc($last_update);
|
||||||
|
|
||||||
|
@ -425,7 +423,7 @@ class DFRN
|
||||||
|
|
||||||
$root->appendChild($mail);
|
$root->appendChild($mail);
|
||||||
|
|
||||||
return(trim($doc->saveXML()));
|
return trim($doc->saveXML());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -454,7 +452,7 @@ class DFRN
|
||||||
|
|
||||||
$root->appendChild($suggest);
|
$root->appendChild($suggest);
|
||||||
|
|
||||||
return(trim($doc->saveXML()));
|
return trim($doc->saveXML());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -513,7 +511,7 @@ class DFRN
|
||||||
|
|
||||||
$root->appendChild($relocate);
|
$root->appendChild($relocate);
|
||||||
|
|
||||||
return(trim($doc->saveXML()));
|
return trim($doc->saveXML());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1066,6 +1064,7 @@ class DFRN
|
||||||
|
|
||||||
$tags = Item::getFeedTags($item);
|
$tags = Item::getFeedTags($item);
|
||||||
|
|
||||||
|
/// @TODO Combine this with similar below if() block?
|
||||||
if (count($tags)) {
|
if (count($tags)) {
|
||||||
foreach ($tags as $t) {
|
foreach ($tags as $t) {
|
||||||
if (($type != 'html') || ($t[0] != "@")) {
|
if (($type != 'html') || ($t[0] != "@")) {
|
||||||
|
@ -1595,6 +1594,7 @@ class DFRN
|
||||||
$avatarlist[$width] = $href;
|
$avatarlist[$width] = $href;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($avatarlist) > 0) {
|
if (count($avatarlist) > 0) {
|
||||||
krsort($avatarlist);
|
krsort($avatarlist);
|
||||||
$author["avatar"] = current($avatarlist);
|
$author["avatar"] = current($avatarlist);
|
||||||
|
|
Loading…
Reference in a new issue