From 7c3db54ff697920a7fc35c6454c0b7c407ec2aa4 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 8 Jan 2018 13:45:06 +0100 Subject: [PATCH] fix changing to next cycle Signed-off-by: Arthur Schiwon --- apps/user_ldap/lib/Jobs/Sync.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/user_ldap/lib/Jobs/Sync.php b/apps/user_ldap/lib/Jobs/Sync.php index 7a1f7703e5..b78a1947e2 100644 --- a/apps/user_ldap/lib/Jobs/Sync.php +++ b/apps/user_ldap/lib/Jobs/Sync.php @@ -146,11 +146,11 @@ class Sync extends TimedJob { if ($expectMoreResults) { $this->increaseOffset($cycleData); } else { - $this->determineNextCycle(); + $this->determineNextCycle($cycleData); } $this->updateInterval(); } catch (ServerNotAvailableException $e) { - $this->determineNextCycle(); + $this->determineNextCycle($cycleData); } }