Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv3565
Modified Files:
logout.php
Log Message:
Prevent annoying error messages that do not actually affect functionality in any way.
Index: logout.php
===================================================================
RCS file: /cvsroot/openfirst/members/logout.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** logout.php 28 Jun 2003 03:01:25 -0000 1.2
--- logout.php 29 Jun 2003 03:55:07 -0000 1.3
***************
*** 35,41 ****
<?php
$q = mysql_query("UPDATE ofirst_members SET authcode = NULL WHERE user='$user->user';");
! echo(mysql_error());
! session_start();
! session_destroy();
?>
--- 35,41 ----
<?php
$q = mysql_query("UPDATE ofirst_members SET authcode = NULL WHERE user='$user->user';");
! @echo(mysql_error());
! @session_start();
! @session_destroy();
?>
***************
*** 47,49 ****
showlogin();
}
! include($footer); ?>
\ No newline at end of file
--- 47,49 ----
showlogin();
}
! include($footer); ?>
|