1
0
Fork 0

name change continued, social graph tools and stuctures, fix for spanish province name

This commit is contained in:
Friendika 2011-10-31 20:39:04 -07:00
commit d4644d7339
11 changed files with 199 additions and 18 deletions

View file

@ -298,6 +298,13 @@ function poller_run($argv, $argc){
if((intval($res->status) != 0) || (! strlen($res->challenge)) || (! strlen($res->dfrn_id)))
continue;
if(((float) $res->dfrn_version > 2.21) && ($contact['poco'] == '')) {
q("update contact set poco = '%s' where id = %d limit 1",
dbesc(str_replace('/profile/','/poco/', $contact['url'])),
intval($contact['id'])
);
}
$postvars = array();
$sent_dfrn_id = hex2bin((string) $res->dfrn_id);