summaryrefslogtreecommitdiffstats
path: root/glpi-0.83-cron.patch
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-0.83-cron.patch')
-rw-r--r--glpi-0.83-cron.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/glpi-0.83-cron.patch b/glpi-0.83-cron.patch
deleted file mode 100644
index 25906e5..0000000
--- a/glpi-0.83-cron.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -up install/install.php.orig install/install.php
---- install/install.php.orig 2012-01-24 12:22:16.000000000 +0100
-+++ install/install.php 2012-02-26 10:04:57.482199413 +0100
-@@ -351,6 +351,15 @@ function step4 ($host, $user, $password,
- $query = "UPDATE `glpi_users`
- SET `language` = NULL";
- $DB->query($query) or die("4203 ".$LANG['update'][90].$DB->error());
-+
-+ // RPM provides a good system cron
-+ $query = "UPDATE `glpi_crontasks` SET `mode`=2 WHERE `name`!='watcher' AND (`allowmode` & 2)";
-+ $DB->query($query)
-+ or die("RPM update of glpi_crontasks. " . $LANG['update'][90] . $DB->error());
-+
-+ $query = "UPDATE `glpi_configs` SET `cron_limit` = '3'";
-+ $DB->query($query)
-+ or die("RPM update of glpi_configs. " . $LANG['update'][90] . $DB->error());
- }
-
-
-diff -up install/update.php.orig install/update.php
---- install/update.php.orig 2012-02-09 21:19:30.000000000 +0100
-+++ install/update.php 2012-02-26 10:07:24.899206029 +0100
-@@ -770,6 +770,11 @@ 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->query($query)
-+ or die("RPM update of glpi_crontasks. " . $LANG['update'][90] . $DB->error());
-+
- DBmysql::optimize_tables($migration);
-
- return $ret;