summaryrefslogtreecommitdiffstats
path: root/glpi-0.85-cron.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-24 19:25:59 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-24 19:25:59 +0100
commit183fcddc8d4fe51092370b0902810dd4a0b42968 (patch)
tree298ce5148b5c37a4abc2595a5d020271f000dc13 /glpi-0.85-cron.patch
parentf55cf6a669e207527486ef20fdae1980e6708348 (diff)
glpi: switch the spec
Diffstat (limited to 'glpi-0.85-cron.patch')
-rw-r--r--glpi-0.85-cron.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/glpi-0.85-cron.patch b/glpi-0.85-cron.patch
deleted file mode 100644
index a84650c..0000000
--- a/glpi-0.85-cron.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -up install/install.php.rpm install/install.php
---- install/install.php.rpm 2014-12-17 13:36:22.420558338 +0100
-+++ install/install.php 2014-12-17 13:38:45.278209044 +0100
-@@ -347,6 +347,10 @@ 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");
- }
-
- //Check if the port is in url
-diff -up install/update.php.rpm install/update.php
---- install/update.php.rpm 2014-12-11 14:16:55.000000000 +0100
-+++ install/update.php 2014-12-17 13:36:22.420558338 +0100
-@@ -808,6 +808,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;