We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e2b352 + e0d891c commit 89a897fCopy full SHA for 89a897f
1 file changed
lib/common.class.php
@@ -260,7 +260,7 @@ function deleteScheduledJob($id)
260
* @param mixed $timeout Timeout
261
* @return mixed
262
*/
263
-function setTimeOut($title, $commands, $timeout)
+function setTimeOut($title, $commands, $timeout = 0)
264
{
265
startMeasure('setTimeout');
266
$res = addScheduledJob($title, $commands, time() + $timeout);
0 commit comments