killed warning of destroying an uninitialised session:

bug [ 1026623 ] Sitemanager site can't be viewed anonymously with PHP session:
- cant reproduce it on my system, but silencing it does no harm
This commit is contained in:
Ralf Becker 2004-09-13 07:38:58 +00:00
parent 6bc9bfab11
commit c1f1985564

View File

@ -117,7 +117,7 @@
{ {
session_unset(); session_unset();
//echo "<p>sessions_php4::destroy: session_destroy() returned ".(session_destroy() ? 'True' : 'False')."</p>\n"; //echo "<p>sessions_php4::destroy: session_destroy() returned ".(session_destroy() ? 'True' : 'False')."</p>\n";
session_destroy(); @session_destroy();
if ($GLOBALS['phpgw_info']['server']['usecookies']) if ($GLOBALS['phpgw_info']['server']['usecookies'])
{ {
$this->phpgw_setcookie(session_name()); $this->phpgw_setcookie(session_name());