forked from extern/egroupware
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:
parent
6bc9bfab11
commit
c1f1985564
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user