diff --git a/livesupport/src/modules/storageServer/var/cron/Cron.php b/livesupport/src/modules/storageServer/var/cron/Cron.php index 07104d419..f321ff4bc 100755 --- a/livesupport/src/modules/storageServer/var/cron/Cron.php +++ b/livesupport/src/modules/storageServer/var/cron/Cron.php @@ -205,4 +205,4 @@ class Cron { return $this->cronfile.' "'.str_replace('"','\"',serialize($this->params)).'"'; } } -?> +?> \ No newline at end of file diff --git a/livesupport/src/modules/storageServer/var/cron/Crontab.php b/livesupport/src/modules/storageServer/var/cron/Crontab.php index 414d5dc7f..84dca437e 100755 --- a/livesupport/src/modules/storageServer/var/cron/Crontab.php +++ b/livesupport/src/modules/storageServer/var/cron/Crontab.php @@ -7,11 +7,11 @@ * This class lets you manipulate the crontab. It lets you add delete update entries easily. **/ -define(CRON_COMMENT, 0); -define(CRON_ASSIGN, 1); -define(CRON_CMD, 2); -define(CRON_SPECIAL, 3); -define(CRON_EMPTY, 4); +define('CRON_COMMENT', 0); +define('CRON_ASSIGN', 1); +define('CRON_CMD', 2); +define('CRON_SPECIAL', 3); +define('CRON_EMPTY', 4); class Crontab { @@ -135,7 +135,7 @@ class Crontab case CRON_SPECIAL : $line = implode(" ", $this->crontabs[$i]); break; - CASE CRON_EMPTYLINE : + case CRON_EMPTY : $line = "\n"; // an empty line in the crontab-file break; default : @@ -257,7 +257,4 @@ class Crontab return $returnar; } } -?> - - - +?> \ No newline at end of file