diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-01-23 10:43:31 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-01-23 10:43:31 +0100 |
commit | 5cc7e81ea291ed7491ea4c422a97f279dbf357b7 (patch) | |
tree | 05bd4d3f3cc54f1b18d766b3e82ea614832010bf /glpi-0.90-cron.patch | |
parent | c51b64385022a487f6eaa2dd6b116ec72864c439 (diff) |
switch the spec
Diffstat (limited to 'glpi-0.90-cron.patch')
-rw-r--r-- | glpi-0.90-cron.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/glpi-0.90-cron.patch b/glpi-0.90-cron.patch deleted file mode 100644 index 8cde99c..0000000 --- a/glpi-0.90-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 -@@ -383,6 +383,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 -@@ -830,6 +830,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; |