diff options
author | marijus <mario@mariovavti.com> | 2015-01-24 12:23:26 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2015-01-24 12:23:26 +0100 |
commit | ed09513bb26f0487e44065c90f3e7d7801d0ac68 (patch) | |
tree | b9de4ccd664055d30456add0a62b8a1e59dd8b48 /include | |
parent | e4e990df06ef64dd08bdd6e6a78bf461dc97cc19 (diff) | |
parent | 146efbc18e95b7f008b683e436c0f0f2fd7db2a1 (diff) | |
download | volse-hubzilla-ed09513bb26f0487e44065c90f3e7d7801d0ac68.tar.gz volse-hubzilla-ed09513bb26f0487e44065c90f3e7d7801d0ac68.tar.bz2 volse-hubzilla-ed09513bb26f0487e44065c90f3e7d7801d0ac68.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'include')
-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 a1450e183..de8dab92d 100644 --- a/include/onedirsync.php +++ b/include/onedirsync.php @@ -56,11 +56,10 @@ function onedirsync_run($argv, $argc){ dbesc($r[0]['ud_addr']) ); if(($h) && ($h[0]['hubloc_status'] & HUBLOC_OFFLINE)) { - $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; |