aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-23 17:40:47 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-23 17:40:47 -0700
commitb1f091e4d7de4467495bb1bde0b0054f5f10403d (patch)
tree27e05fe9a838b63dbd57c74db3dd347fd68d3a31 /include/zot.php
parent72bdca009c076023342c190c5e3dde6725cd9635 (diff)
downloadvolse-hubzilla-b1f091e4d7de4467495bb1bde0b0054f5f10403d.tar.gz
volse-hubzilla-b1f091e4d7de4467495bb1bde0b0054f5f10403d.tar.bz2
volse-hubzilla-b1f091e4d7de4467495bb1bde0b0054f5f10403d.zip
issues with abook sync between hubzilla and red
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index 19bacfa4f..76f73934d 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2930,7 +2930,7 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
$total_feeds ++;
}
- $disallowed = array('abook_id','abook_account','abook_channel');
+ $disallowed = array('abook_id','abook_account','abook_channel','abook_blocked','abook_ignored','abook_hidden','abook_archived','abook_pending','abook_unconnected','abook_self','abook_feed');
foreach($arr['abook'] as $abook) {
@@ -3029,7 +3029,6 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
foreach($clean as $k => $v) {
if($k == 'abook_dob')
$v = dbescdate($v);
-
$r = dbq("UPDATE abook set " . dbesc($k) . " = '" . dbesc($v)
. "' where abook_xchan = '" . dbesc($clean['abook_xchan']) . "' and abook_channel = " . intval($channel['channel_id']));
}