Bug #9085: Destroying a session counts as a clean session
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 2 Jul 2010 18:45:07 +0000 (12:45 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 2 Jul 2010 18:50:13 +0000 (12:50 -0600)
framework/Core/lib/Horde/Registry.php

index 092f52c..d11d423 100644 (file)
@@ -1635,7 +1635,8 @@ class Horde_Registry
         $this->unloadPrefs();
 
         if ($destroy) {
-            @session_destroy();
+            session_destroy();
+            $this->_cleansession = true;
         }
     }