diff options
author | friendica <info@friendica.com> | 2015-01-26 18:09:09 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-26 18:09:09 -0800 |
commit | e6bfe3f2c10e851ed5ba49886ec8d0a9a9de2296 (patch) | |
tree | 7033931be515f0b81223e335b0df9d6ac6c7462a /include/onedirsync.php | |
parent | 4c2a1e572a03e253f05f03e400af26d403cbda32 (diff) | |
download | volse-hubzilla-e6bfe3f2c10e851ed5ba49886ec8d0a9a9de2296.tar.gz volse-hubzilla-e6bfe3f2c10e851ed5ba49886ec8d0a9a9de2296.tar.bz2 volse-hubzilla-e6bfe3f2c10e851ed5ba49886ec8d0a9a9de2296.zip |
onedirsync merge
Diffstat (limited to 'include/onedirsync.php')
-rw-r--r-- | include/onedirsync.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/onedirsync.php b/include/onedirsync.php index e611492af..215c90008 100644 --- a/include/onedirsync.php +++ b/include/onedirsync.php @@ -41,11 +41,10 @@ function onedirsync_run($argv, $argc){ intval(UPDATE_FLAGS_UPDATED) ); if($x) { - $y = q("update updates set ud_flags = ( ud_flags | %d ) where ud_addr = '%s' and ( ud_flags & %d ) = 0 and ud_date < '%s' ", + $y = q("update updates set ud_flags = ( ud_flags | %d ) where ud_addr = '%s' and ( ud_flags & %d ) = 0 ", intval(UPDATE_FLAGS_UPDATED), dbesc($r[0]['ud_addr']), - intval(UPDATE_FLAGS_UPDATED), - dbesc($x[0]['ud_date']) + intval(UPDATE_FLAGS_UPDATED) ); return; } |