Show "Redmatrix" as network name.

This commit is contained in:
Michael Vogel 2015-07-16 10:09:59 +02:00
parent 74a2f58efb
commit fca8aecc9b
10 changed files with 36 additions and 30 deletions

View file

@ -92,6 +92,10 @@ function onepoll_run(&$argv, &$argc){
);
if(! count($contacts)) {
// Maybe it is a Redmatrix account. Then we can fetch their contacts via poco
$contacts = q("SELECT `id`, `poco` FROM `contact` WHERE `id` = %d AND `poco` != ''", intval($contact_id));
if ($contacts)
poco_load($contacts[0]['id'],$importer_uid,0,$contacts[0]['poco']);
return;
}