X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Flogout.php;h=3dc371e2e147e8f82c1ed2a97b73cddf46fd0679;hb=d304d276784b0675372dcdb402a61bfdd3f8488d;hp=e41c713261d2015a7805d92cb4ec494031e59d62;hpb=1088995c0f64ad025984dd8e2fe7df1510929f62;p=gosa.git diff --git a/gosa-core/html/logout.php b/gosa-core/html/logout.php index e41c71326..3dc371e2e 100644 --- a/gosa-core/html/logout.php +++ b/gosa-core/html/logout.php @@ -1,21 +1,23 @@ data['MAIN']['COMPILE'])){ if (isset($_GET['request'])){ /* destroy old session */ - @session_unset (); - @session_destroy (); + session::destroy (); /* If we're not using htaccess authentication, just redirect... */ if (isset($config->data['MAIN']['HTACCESS_AUTH']) && preg_match('/^(true|yes)$/i', $config->data['MAIN']['HTACCESS_AUTH'])){