add some debugging - update times are changing much faster than they're supposed to. Log what has changed.

This commit is contained in:
friendica 2013-04-29 18:21:23 -07:00
parent 2895890cb8
commit 04170328b1
2 changed files with 8 additions and 1 deletions

View File

@ -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;
}

View File

@ -1 +1 @@
2013-04-28.297
2013-04-29.298