phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] setup lang.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] setup lang.php
Date: Sun, 04 Mar 2007 15:54:22 +0000

CVSROOT:        /sources/phpgroupware
Module name:    setup
Changes by:     Sigurd Nes <sigurdne>   07/03/04 15:54:22

Modified files:
        .              : lang.php 

Log message:
        patch #5733 by  Pascal Vilarem <maat>

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/setup/lang.php?cvsroot=phpgroupware&r1=1.58&r2=1.59

Patches:
Index: lang.php
===================================================================
RCS file: /sources/phpgroupware/setup/lang.php,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- lang.php    18 Feb 2007 21:04:24 -0000      1.58
+++ lang.php    4 Mar 2007 15:54:22 -0000       1.59
@@ -5,7 +5,7 @@
        * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package setup
-       * @version $Id: lang.php,v 1.58 2007/02/18 21:04:24 Caeies Exp $
+       * @version $Id: lang.php,v 1.59 2007/03/04 15:54:22 sigurdne Exp $
        */
 
        $phpgw_info = array();
@@ -93,7 +93,7 @@
                        foreach($lang_selected as $lang)
                        {
                                //echo '<br />Working on: ' . $lang;
-                               if(function_exists('sem_get'))
+                               if(function_exists('sem_get') && 
function_exists('shmop_open'))
                                {
                                        
$GLOBALS['phpgw']->shm->delete_key('lang_' . $lang);
                                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]