Code

Hide errors if session is already destroyed
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Apr 2008 16:17:33 +0000 (16:17 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Apr 2008 16:17:33 +0000 (16:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10679 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_session.inc

index 145e716b22dc62c30be3bbd9bd80902fdfed80c2..4a98ad2dc6aa31bd2c67c050b05b3558ea58e707 100644 (file)
@@ -94,7 +94,7 @@ class session {
 
        public static function destroy()
        {
-               session_destroy();
+               @session_destroy();
        }
 
        public static function set_lifetime($seconds = -1)