From 25c72d9edd2b21fe538a3bfcb66bf05d55be12b3 Mon Sep 17 00:00:00 2001
From: nveid <nveid@ispconfig3>
Date: Sun, 28 Aug 2011 18:53:34 -0400
Subject: [PATCH] SESSION data on logout is really destroyed. Thus new configuration options, such as ones affecting theme can take place now. Affected files: interface/web/login/logout.php

---
 interface/lib/classes/db_mysql.inc.php |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/interface/lib/classes/db_mysql.inc.php b/interface/lib/classes/db_mysql.inc.php
index 4572dac..5e38e3b 100644
--- a/interface/lib/classes/db_mysql.inc.php
+++ b/interface/lib/classes/db_mysql.inc.php
@@ -54,10 +54,6 @@
 		//$this->connect();
 	}
 
-	public function __destruct() {
-		$this->closeConn();
-	}
-
 	/**  Error handler */
 	public function updateError($location)
     {

--
Gitblit v1.9.1