From 47b16df3056a2efde95dcb321d053a05ea2ef864 Mon Sep 17 00:00:00 2001 From: IceQ1337 Date: Fri, 22 Apr 2022 16:24:07 +0200 Subject: [PATCH] Fix function description of CronjobUtil::calculateHour() see #4752 --- wcfsetup/install/files/lib/util/CronjobUtil.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/util/CronjobUtil.class.php b/wcfsetup/install/files/lib/util/CronjobUtil.class.php index 53555ad183..002ab24184 100644 --- a/wcfsetup/install/files/lib/util/CronjobUtil.class.php +++ b/wcfsetup/install/files/lib/util/CronjobUtil.class.php @@ -332,8 +332,8 @@ final class CronjobUtil } /** - * Calculates hour of next execution. Returns number of days which - * had been added in order to match expression for hour and minutes. + * Calculates hour of next execution. Returns true if hour-declaration + * has already elapsed, thus requiring at least one day to be added. * * @param array $values * @param int $timeBase -- 2.20.1