aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-29 18:21:23 -0700
committerfriendica <info@friendica.com>2013-04-29 18:21:23 -0700
commit04170328b12bcaa779d99d89811879cf795a70c6 (patch)
tree258f2219855bab77e80477b8a4575d9ebb9cd5ad /include/zot.php
parent2895890cb8fe53ce5d734803a9a221fc3fb1a0a7 (diff)
downloadvolse-hubzilla-04170328b12bcaa779d99d89811879cf795a70c6.tar.gz
volse-hubzilla-04170328b12bcaa779d99d89811879cf795a70c6.tar.bz2
volse-hubzilla-04170328b12bcaa779d99d89811879cf795a70c6.zip
add some debugging - update times are changing much faster than they're supposed to. Log what has changed.
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 9addf80cf..7a2db3920 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -475,6 +475,9 @@ function import_xchan($arr) {
return $ret;
}
+
+ logger('import_xchan: ' . $xchan_hash, LOGGER_DEBUG);
+
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
dbesc($xchan_hash)
);
@@ -517,6 +520,10 @@ function import_xchan($arr) {
dbesc($arr['url']),
dbesc($xchan_hash)
);
+
+ logger('import_xchan: existing: ' . print_r($r[0],true), LOGGER_DATA);
+ logger('import_xchan: new: ' . print_r($arr,true), LOGGER_DATA);
+
update_modtime($xchan_hash);
$changed = true;
}