name change continued, social graph tools and stuctures, fix for spanish province name
This commit is contained in:
parent
d5ce13ee12
commit
d4644d7339
11 changed files with 199 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue