diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-04-26 17:58:35 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-04-26 17:58:35 +0200 |
commit | d79290df75b214f50f0d9ec586a7b855e3a86106 (patch) | |
tree | c104db7bfdf8559dbda48ddc3f0b0b291735a662 /Zotlabs/Daemon/Poller.php | |
parent | 0bf65bcad5f11be5b8d8e3280fc2f96f150a8830 (diff) | |
download | volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.tar.gz volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.tar.bz2 volse-hubzilla-d79290df75b214f50f0d9ec586a7b855e3a86106.zip |
dirsync update column
Diffstat (limited to 'Zotlabs/Daemon/Poller.php')
-rw-r--r-- | Zotlabs/Daemon/Poller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Poller.php b/Zotlabs/Daemon/Poller.php index b6b52af81..77a428ec3 100644 --- a/Zotlabs/Daemon/Poller.php +++ b/Zotlabs/Daemon/Poller.php @@ -170,7 +170,7 @@ class Poller { $dirmode = intval(get_config('system', 'directory_mode')); if ($dirmode == DIRECTORY_MODE_SECONDARY || $dirmode == DIRECTORY_MODE_PRIMARY) { - $r = q("SELECT * FROM updates WHERE ud_flags = 1 AND (ud_last = '%s' OR ud_last > %s - INTERVAL %s)", + $r = q("SELECT * FROM updates WHERE ud_update = 1 AND (ud_last = '%s' OR ud_last > %s - INTERVAL %s)", dbesc(NULL_DATE), db_utcnow(), db_quoteinterval('7 DAY') |