Bugfix: make some todos usable for doxygen in dfrn.php
This commit is contained in:
parent
0c65dbb8db
commit
686a7dbe01
1 changed files with 2 additions and 2 deletions
|
@ -1161,7 +1161,7 @@ class dfrn {
|
||||||
|
|
||||||
// Until now we aren't serving different sizes - but maybe later
|
// Until now we aren't serving different sizes - but maybe later
|
||||||
$avatarlist = array();
|
$avatarlist = array();
|
||||||
// @todo check if "avatar" or "photo" would be the best field in the specification
|
/// @todo check if "avatar" or "photo" would be the best field in the specification
|
||||||
$avatars = $xpath->query($element."/atom:link[@rel='avatar']", $context);
|
$avatars = $xpath->query($element."/atom:link[@rel='avatar']", $context);
|
||||||
foreach($avatars AS $avatar) {
|
foreach($avatars AS $avatar) {
|
||||||
$href = "";
|
$href = "";
|
||||||
|
@ -1381,7 +1381,7 @@ class dfrn {
|
||||||
|
|
||||||
$objxml = $obj_doc->saveXML($obj_element);
|
$objxml = $obj_doc->saveXML($obj_element);
|
||||||
|
|
||||||
// @todo This isn't totally clean. We should find a way to transform the namespaces
|
/// @todo This isn't totally clean. We should find a way to transform the namespaces
|
||||||
$objxml = str_replace("<".$element.' xmlns="http://www.w3.org/2005/Atom">', "<".$element.">", $objxml);
|
$objxml = str_replace("<".$element.' xmlns="http://www.w3.org/2005/Atom">', "<".$element.">", $objxml);
|
||||||
return($objxml);
|
return($objxml);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue