-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.5, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
MDL-73765-master-twenty-three-minutes -
This code from MDL-47221 is a copy & paste mistake:
public function set_minute($minute, $expandr = true) {
|
if ($minute === 'R' && $expandr) {
|
$minute = mt_rand(self::HOURMIN, self::HOURMAX);
|
}
|
$this->minute = $minute;
|
}
|
It should read MINUTEMIN and MINUTEMAX.
As a result, all randomly allocated tasks have always get random minute from the range 0 - 23 only.
- Discovered while testing
-
MDL-73748 All sites check for available updates on the hour, every two hours
- Closed
- has a non-specific relationship to
-
MDL-74242 Fix update checks default to random ( backport of MDL-73748 & MDL-73765)
- Closed
- has been marked as being related by
-
MDL-47221 Allow a 'random' value to be set in scheduled tasks time definition
- Closed