Update of /cvsroot/xoops/xoops-current/html
In directory usw-pr-cvs1:/tmp/cvs-serv31196
Modified Files:
user.php
Log Message:
no message
Index: user.php
===================================================================
RCS file: /cvsroot/xoops/xoops-current/html/user.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** user.php 11 Sep 2002 20:18:16 -0000 1.4
--- user.php 14 Sep 2002 08:09:57 -0000 1.5
***************
*** 78,81 ****
--- 78,92 ----
}
+ if ($op == 'logout') {
+ $message = '';
+ if ( $xoopsUser ) {
+ $xoopsUser->logout();
+ $message = _US_LOGGEDOUT;
+ $message .= '<p>'._US_THANKYOUFORVISIT.'</p>';
+ }
+ redirect_header('index.php', 1, $message);
+ exit();
+ }
+
if ($op == 'actv') {
$id = intval($HTTP_GET_VARS['id']);
|