Reverted some work ...
This commit is contained in:
parent
78e79de7c9
commit
04725d1283
2 changed files with 1 additions and 6 deletions
|
@ -179,9 +179,6 @@ function poco_init(&$a) {
|
|||
$rr['generation'] = 2;
|
||||
}
|
||||
|
||||
if ($rr["avatar"] == "")
|
||||
$rr["avatar"] = $rr["photo"];
|
||||
|
||||
if (($rr['about'] == "") AND isset($rr['pabout']))
|
||||
$rr['about'] = $rr['pabout'];
|
||||
|
||||
|
@ -261,7 +258,7 @@ function poco_init(&$a) {
|
|||
$entry['updated'] = date("c", strtotime($entry['updated']));
|
||||
}
|
||||
if($fields_ret['photos'])
|
||||
$entry['photos'] = array(array('value' => $rr['avatar'], 'type' => 'profile'));
|
||||
$entry['photos'] = array(array('value' => $rr['photo'], 'type' => 'profile'));
|
||||
if($fields_ret['network']) {
|
||||
$entry['network'] = $rr['network'];
|
||||
if ($entry['network'] == NETWORK_STATUSNET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue