From 90f47b2e9f2a9d5afd1d5252d0d459f2632c00f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9munaire?= Date: Sun, 18 Jan 2015 11:51:49 +0100 Subject: [PATCH] Don't SYNC when launching chrono, wait manual action --- onyx/include/admin/chrono.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onyx/include/admin/chrono.php b/onyx/include/admin/chrono.php index 97cb9bc9..a2b319f1 100644 --- a/onyx/include/admin/chrono.php +++ b/onyx/include/admin/chrono.php @@ -7,8 +7,8 @@ if (count($p) > 2) switch($p[2]) { case "start": - file_put_contents($VAR["misc_dir"]."/shared/challenge_started", time() + (intval($_POST["time"]) - 240) * 60); - pipe_backend_scheduler("resetreset:HOME:all:SY"); + file_put_contents($VAR["misc_dir"]."/shared/challenge_started", time() + 40 + (intval($_POST["time"]) - 240) * 60); + pipe_backend_scheduler("resetreset:HOME:all"); break; case "init":