phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api class.admin.php,1.1.2.15,1.1.2.16


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api class.admin.php,1.1.2.15,1.1.2.16
Date: Fri, 21 Nov 2003 00:45:47 +0000

Update of /cvsroot/phpgroupware/api
In directory subversions:/tmp/cvs-serv27112/api

Modified Files:
      Tag: proposal-branch
        class.admin.php 
Log Message:
Added delete session to admin ... this currently will allow you to delete your 
own session.  I need to add something to prevent this.


Index: class.admin.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/Attic/class.admin.php,v
retrieving revision 1.1.2.15
retrieving revision 1.1.2.16
diff -C2 -d -r1.1.2.15 -r1.1.2.16
*** class.admin.php     19 Nov 2003 21:10:02 -0000      1.1.2.15
--- class.admin.php     21 Nov 2003 00:45:45 -0000      1.1.2.16
***************
*** 122,126 ****
                        else if ($args['answer'] == 'Yes')
                        {
!                               $GLOBALS['msgbox']->add(lang('Session has NOT 
been deleted',$account_lid),__LINE__,__FILE__, 'notice');
                        }
  
--- 122,133 ----
                        else if ($args['answer'] == 'Yes')
                        {
!                               if 
($GLOBALS['phpgw']->session->delete($args['ksid']))
!                               {
!                                       $GLOBALS['msgbox']->add(lang('Session 
has been deleted'),__LINE__,__FILE__, 'notice');
!                               }
!                               else
!                               {
!                                       $GLOBALS['msgbox']->add(lang('There was 
a problem deleting this session'),__LINE__,__FILE__, 'notice');
!                               }
                        }
  





reply via email to

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