phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] setup lang.php [Version-0_9_16-branch]


From: Dave Hall
Subject: [Phpgroupware-cvs] setup lang.php [Version-0_9_16-branch]
Date: Thu, 19 Oct 2006 04:07:57 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    setup
Branch:         Version-0_9_16-branch
Changes by:     Dave Hall <skwashd>     06/10/19 04:07:57

Modified files:
        .              : lang.php 

Log message:
        remove shm support which should not have been included

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/setup/lang.php?cvsroot=phpgroupware&only_with_tag=Version-0_9_16-branch&r1=1.46.2.9&r2=1.46.2.10

Patches:
Index: lang.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/lang.php,v
retrieving revision 1.46.2.9
retrieving revision 1.46.2.10
diff -u -b -r1.46.2.9 -r1.46.2.10
--- lang.php    18 Oct 2006 13:29:17 -0000      1.46.2.9
+++ lang.php    19 Oct 2006 04:07:56 -0000      1.46.2.10
@@ -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.46.2.9 2006/10/18 13:29:17 skwashd Exp $
+       * @version $Id: lang.php,v 1.46.2.10 2006/10/19 04:07:56 skwashd Exp $
        */
 
        $phpgw_info = array();
@@ -58,12 +58,6 @@
 
        if (isset($_POST['submit']) && $_POST['submit'] )
        {
-               if ( !isset($GLOBALS['phpgw']->shm) 
-                       || !is_object($GLOBALS['phpgw']->shm) )
-               {
-                       $GLOBALS['phpgw']->shm = CreateObject('phpgwapi.shm');
-               }
-                               
                $lang_selected = $_POST['lang_selected'];
                $upgrademethod = $_POST['upgrademethod'];
                
@@ -89,7 +83,6 @@
                        foreach($lang_selected as $lang)
                        {
                                //echo '<br />Working on: ' . $lang;
-                               $GLOBALS['phpgw']->shm->delete_key('lang_' . 
$lang);
                                $addlang = False;
                                if ($upgrademethod == 'addonlynew')
                                {




reply via email to

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