From 4e9d8e1a8342d7ae603a3d6caf714ce8b43b00ac Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 18 Jan 2021 21:10:59 +0000 Subject: fix abandon days setting for onepoll --- Zotlabs/Daemon/Poller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Daemon/Poller.php') diff --git a/Zotlabs/Daemon/Poller.php b/Zotlabs/Daemon/Poller.php index 8cbdfab0d..762f1349c 100644 --- a/Zotlabs/Daemon/Poller.php +++ b/Zotlabs/Daemon/Poller.php @@ -57,7 +57,7 @@ class Poller { reload_plugins(); // Only poll from those with suitable relationships - + $abandon_days = intval(get_config('system', 'account_abandon_days', 0)); $abandon_sql = (($abandon_days) ? sprintf(" AND account_lastlog > %s - INTERVAL %s ", db_utcnow(), db_quoteinterval(intval($abandon_days) . ' DAY')) : '' -- cgit v1.2.3