From f5b0ca26b34388a108f8fe1c77f3ef1c99829bfa Mon Sep 17 00:00:00 2001 From: nveid <nveid@ispconfig3> Date: Wed, 07 Dec 2011 03:38:52 -0500 Subject: [PATCH] Converted all mysql_ calls to OO based mysqli calls. Also removed the calls to the db closeConn calls in favor of destryong the connections on the class __destruct() 's.. --- interface/lib/app.inc.php | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php old mode 100644 new mode 100755 index 0690d5d..7e0d10a --- a/interface/lib/app.inc.php +++ b/interface/lib/app.inc.php @@ -78,7 +78,6 @@ public function __destruct() { session_write_close(); - if(isset($this->db)) $this->db->closeConn(); } public function uses($classes) { @@ -243,4 +242,4 @@ //* possible future = new app($conf); $app = new app(); -?> \ No newline at end of file +?> -- Gitblit v1.9.1