add some debugging - update times are changing much faster than they're supposed to. Log what has changed.
This commit is contained in:
parent
2895890cb8
commit
04170328b1
@ -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;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
2013-04-28.297
|
||||
2013-04-29.298
|
||||
|
Reference in New Issue
Block a user