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:46:36 +00:00
parent bd3685a0e6
commit b8c3adb4d3

View File

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