[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate_gtk.inc.php,1.7,
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate_gtk.inc.php,1.7,1.8 |
Date: |
Fri, 07 Jun 2002 17:56:37 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv7147
Modified Files:
class.uietemplate_gtk.inc.php
Log Message:
destroy the session if window get closed
Index: class.uietemplate_gtk.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate_gtk.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** class.uietemplate_gtk.inc.php 7 Jun 2002 21:26:38 -0000 1.7
--- class.uietemplate_gtk.inc.php 7 Jun 2002 21:56:34 -0000 1.8
***************
*** 171,180 ****
/*
! * Called when the window is being destroyed. Simply quit the
main loop.
*/
function destroy()
{
Gtk::main_quit();
! exit();
}
--- 171,182 ----
/*
! * Called when the window is being destroyed: destroy the
session and let phpgw_exit close the db-connection
*/
function destroy()
{
Gtk::main_quit();
!
$GLOBALS['phpgw']->session->destroy($GLOBALS['phpgw_info']['user']['sessionid'],$GLOBALS['phpgw_info']['user']['kp3']);
! $GLOBALS['phpgw']->common->phpgw_exit();
! exit();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate_gtk.inc.php,1.7,1.8,
Ralf Becker <address@hidden> <=