diff options
author | friendica <info@friendica.com> | 2013-10-14 22:04:45 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-14 22:04:45 -0700 |
commit | b75163fb80518efb9e06b374f5093da5d2e6f6d4 (patch) | |
tree | fd6c29e5f34c96f7e1f33b8199be8d52f942480a | |
parent | 83daf51460db24356b0690aff2cfb5e639f98576 (diff) | |
download | volse-hubzilla-b75163fb80518efb9e06b374f5093da5d2e6f6d4.tar.gz volse-hubzilla-b75163fb80518efb9e06b374f5093da5d2e6f6d4.tar.bz2 volse-hubzilla-b75163fb80518efb9e06b374f5093da5d2e6f6d4.zip |
why do these have invalid id's?
-rw-r--r-- | include/onedirsync.php | 2 | ||||
-rw-r--r-- | include/poller.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/onedirsync.php b/include/onedirsync.php index 35fcbbc7b..c2ac3b59d 100644 --- a/include/onedirsync.php +++ b/include/onedirsync.php @@ -12,7 +12,7 @@ function onedirsync_run($argv, $argc){ cli_startup(); $a = get_app(); - logger('onedirsync: start' . intval($argv[1])); + logger('onedirsync: start ' . intval($argv[1])); if(($argc > 1) && (intval($argv[1]))) $update_id = intval($argv[1]); diff --git a/include/poller.php b/include/poller.php index 97571d331..48959fe61 100644 --- a/include/poller.php +++ b/include/poller.php @@ -242,7 +242,7 @@ function poller_run($argv, $argc){ } if($dirmode == DIRECTORY_MODE_SECONDARY || $dirmode == DIRECTORY_MODE_PRIMARY) { - $r = q("select ud_id from updates where not ( ud_flags & %d ) and ud_addr != '' and ( ud_last = '0000-00-00 00:00:00' OR ud_last > UTC_TIMESTAMP() - INTERVAL 7 DAY ) ", + $r = q("select * from updates where not ( ud_flags & %d ) and ud_addr != '' and ( ud_last = '0000-00-00 00:00:00' OR ud_last > UTC_TIMESTAMP() - INTERVAL 7 DAY ) ", intval(UPDATE_FLAGS_UPDATED) ); if($r) { |