From d44e282927e83ccd290cb2bf8f532591854a8d09 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 3 Jul 2024 14:48:01 +0200 Subject: [sysconfig] Use auto-generated taskId --- modules-available/sysconfig/inc/configmodule/screensaver.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules-available/sysconfig/inc/configmodule/screensaver.inc.php b/modules-available/sysconfig/inc/configmodule/screensaver.inc.php index 03719f64..40736649 100644 --- a/modules-available/sysconfig/inc/configmodule/screensaver.inc.php +++ b/modules-available/sysconfig/inc/configmodule/screensaver.inc.php @@ -20,11 +20,7 @@ class ConfigModule_Screensaver extends ConfigModule if (!$this->validateConfig()) return false; - /* Give the Taskmanager the job and create the tgz */ - $taskId = 'xscreensaver' . mt_rand() . '-' . microtime(true); - return Taskmanager::submit('MakeTarball', array( - 'id' => $taskId, 'files' => $this->getFileArray(), 'destination' => $tgz, 'parentTask' => $parent, -- cgit v1.2.3-55-g7522