phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [19030] Remove old unneeded code for phpgw_app_sessio


From: Caeies
Subject: [Phpgroupware-cvs] [19030] Remove old unneeded code for phpgw_app_session ( we are no more supporting sessions in db)
Date: Wed, 21 Jan 2009 14:48:49 +0000

Revision: 19030
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19030
Author:   Caeies
Date:     2009-01-21 14:48:49 +0000 (Wed, 21 Jan 2009)

Log Message:
-----------
Remove old unneeded code for phpgw_app_session (we are no more supporting 
sessions in db)

Modified Paths:
--------------
    core/trunk/phpgwapi/inc/class.config.inc.php

Modified: core/trunk/phpgwapi/inc/class.config.inc.php
===================================================================
--- core/trunk/phpgwapi/inc/class.config.inc.php        2009-01-21 14:26:34 UTC 
(rev 19029)
+++ core/trunk/phpgwapi/inc/class.config.inc.php        2009-01-21 14:48:49 UTC 
(rev 19030)
@@ -103,14 +103,8 @@
 
                        if ( is_array($config_data) && count($config_data) )
                        {
-                               
$this->db->lock(array('phpgw_config','phpgw_app_sessions'));
+                               $this->db->lock(array('phpgw_config'));
                                $this->delete_repository();
-                               if($this->appname == 'phpgwapi')
-                               {
-                                       $this->db->query('DELETE FROM 
phpgw_app_sessions'
-                                                                       . " 
WHERE sessionid = '0' and loginid = '0' and app = '{$this->appname}' AND 
location = 'config'",
-                                                                       
__LINE__,__FILE__);
-                               }
                                foreach ( $config_data as $name => $value )
                                {
                                        if(is_array($value))






reply via email to

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