Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-glpi-git / htdocs / install / update_071_0712.php @ 1c14bcc4

Historique | Voir | Annoter | Télécharger (1,89 ko)

1
<?php
2

    
3

    
4
/*
5
 * @version $Id: update_071_0712.php 7763 2009-01-06 18:44:50Z moyo $
6
 -------------------------------------------------------------------------
7
 GLPI - Gestionnaire Libre de Parc Informatique
8
 Copyright (C) 2003-2009 by the INDEPNET Development Team.
9

10
 http://indepnet.net/   http://glpi-project.org
11
 -------------------------------------------------------------------------
12

13
 LICENSE
14

15
 This file is part of GLPI.
16

17
 GLPI is free software; you can redistribute it and/or modify
18
 it under the terms of the GNU General Public License as published by
19
 the Free Software Foundation; either version 2 of the License, or
20
 (at your option) any later version.
21

22
 GLPI is distributed in the hope that it will be useful,
23
 but WITHOUT ANY WARRANTY; without even the implied warranty of
24
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
 GNU General Public License for more details.
26

27
 You should have received a copy of the GNU General Public License
28
 along with GLPI; if not, write to the Free Software
29
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
30
 --------------------------------------------------------------------------
31
 */
32

    
33
// ----------------------------------------------------------------------
34
// Original Author of file:
35
// Purpose of file:
36
// ----------------------------------------------------------------------
37

    
38
/// Update from 0.71 to 0.71.2
39
function update071to0712() {
40
        global $DB, $CFG_GLPI, $LANG;
41

    
42

    
43
        $query="UPDATE glpi_display SET num=120 WHERE num=121"        ;
44
        $DB->query($query) or die("0.71.2 Update display index in view item ".$LANG["update"][90].$DB->error());
45

    
46
        $query="UPDATE glpi_rules_actions SET field='_ignore_ocs_import' WHERE action_type='ignore'"        ;
47
        $DB->query($query) or die("0.71.2 Update ignore field for soft dict ".$LANG["update"][90].$DB->error());
48

    
49
} // fin 0.71 #####################################################################################
50
?>
Redmine Appliance - Powered by TurnKey Linux