summaryrefslogtreecommitdiffstats
path: root/glpi-0.84-cron.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-06 13:25:08 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-06 13:25:08 +0200
commitf30cd1447b77f461dd0a459652bc03399d6d7878 (patch)
treef39a6f08f0d76f3acd2335194eced6286b6448f1 /glpi-0.84-cron.patch
parentf45d2ffb8ef0dca962fc96ce6e3422b0816fad40 (diff)
glpi: 0.85 is now in "remi"
Diffstat (limited to 'glpi-0.84-cron.patch')
-rw-r--r--glpi-0.84-cron.patch31
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;