diff options
Diffstat (limited to 'glpi-0.84-cron.patch')
-rw-r--r-- | glpi-0.84-cron.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/glpi-0.84-cron.patch b/glpi-0.84-cron.patch deleted file mode 100644 index 4ce17d1..0000000 --- a/glpi-0.84-cron.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -up install/install.php.orig install/install.php ---- install/install.php.orig 2013-09-29 17:04:16.326382959 +0200 -+++ install/install.php 2013-09-29 17:08:07.616396210 +0200 -@@ -350,6 +350,13 @@ function step4 ($databasename, $newdatab - $query = "UPDATE `glpi_users` - SET `language` = NULL"; - $DB->queryOrDie($query, "4203"); -+ -+ // RPM provides a good system cron -+ $query = "UPDATE `glpi_crontasks` SET `mode`=2 WHERE `name`!='watcher' AND (`allowmode` & 2)"; -+ $DB->queryOrDie($query, "4203"); -+ -+ $query = "UPDATE `glpi_configs` SET `cron_limit` = '3'"; -+ $DB->queryOrDie($query, "4203"); - } - - $link = new mysqli($host, $user, $password); -diff -up install/update.php.orig install/update.php ---- install/update.php.orig 2013-09-12 21:17:15.000000000 +0200 -+++ install/update.php 2013-09-29 17:07:53.124390070 +0200 -@@ -790,6 +790,10 @@ function updateDbUpTo031() { - $plugin = new Plugin(); - $plugin->unactivateAll(); - -+ // RPM provides a good system cron -+ $query = "UPDATE `glpi_crontasks` SET `mode`=2 WHERE `name`!='watcher' AND (`allowmode` & 2)"; -+ $DB->queryOrDie($query); -+ - DBmysql::optimize_tables($migration); - - return $ret; |