more nomadic clone sync
This commit is contained in:
@@ -76,6 +76,9 @@ function abook_toggle_flag($abook,$flag) {
|
||||
intval($abook['abook_id']),
|
||||
intval($abook['abook_channel'])
|
||||
);
|
||||
$a = get_app();
|
||||
if($a->data['abook'])
|
||||
$a->data['abook']['abook_flags'] = $a->data['abook']['abook_flags'] ^ $flag;
|
||||
return $r;
|
||||
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ function build_sync_packet($packet = null) {
|
||||
dbesc(datetime_convert()),
|
||||
dbesc(datetime_convert()),
|
||||
dbesc($n),
|
||||
dbesc($info)
|
||||
dbesc(json_encode($info))
|
||||
);
|
||||
|
||||
proc_run('php','include/deliver.php',$hash);
|
||||
|
||||
Reference in New Issue
Block a user