phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: admin/inc class.bocurrentsessions.inc.php,1.6.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin/inc class.bocurrentsessions.inc.php,1.6.2.1,1.6.2.2 class.socurrentsessions.inc.php,1.3,NONE
Date: Thu, 20 Mar 2003 18:55:56 -0500

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv12331

Modified Files:
      Tag: Version-0_9_14-branch
        class.bocurrentsessions.inc.php 
Removed Files:
      Tag: Version-0_9_14-branch
        class.socurrentsessions.inc.php 
Log Message:
Moved list_sessions and total from admin.socurrentsessions into the 
session-class and implemented them for php4 too.
So admin.socurrentsessions is no longer used and bocurrentsessions as well as 
the phpgwapi/templates/xxx/navbar.inc.php use the session-class to get the 
number of loged-in-users.
Aktivated the accesslog für php4-sessions too.


Index: class.bocurrentsessions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.bocurrentsessions.inc.php,v
retrieving revision 1.6.2.1
retrieving revision 1.6.2.2
diff -C2 -r1.6.2.1 -r1.6.2.2
*** class.bocurrentsessions.inc.php     14 Oct 2002 14:24:53 -0000      1.6.2.1
--- class.bocurrentsessions.inc.php     20 Mar 2003 23:55:54 -0000      1.6.2.2
***************
*** 21,37 ****
                );
  
-               function bocurrentsessions()
-               {
-                       $this->so       = 
CreateObject('admin.socurrentsessions');
-               }
- 
                function total()
                {
!                       return $this->so->total();
                }
  
                function list_sessions($start,$order,$sort)
                {
!                       $values = $this->so->list_sessions($start,$sort,$order);
  
                        while (list(,$value) = @each($values))
--- 21,32 ----
                );
  
                function total()
                {
!                       return $GLOBALS['phpgw']->session->total();
                }
  
                function list_sessions($start,$order,$sort)
                {
!                       $values = 
$GLOBALS['phpgw']->session->list_sessions($start,$sort,$order);
  
                        while (list(,$value) = @each($values))

--- class.socurrentsessions.inc.php DELETED ---





reply via email to

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