From a0b7bf78a6e1c269adc8ee1c84b72a8d205a6f28 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 16 Aug 2013 19:05:07 +0200 Subject: [PATCH] Remove disconnect function from OC_DB --- lib/db.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/db.php b/lib/db.php index ebd012c72f8..f090f474243 100644 --- a/lib/db.php +++ b/lib/db.php @@ -329,18 +329,6 @@ class OC_DB { self::$connection->commit(); } - /** - * @brief Disconnect - * - * This is good bye, good bye, yeah! - */ - public static function disconnect() { - // Cut connection if required - if(self::$connection) { - self::$connection->close(); - } - } - /** * @brief saves database schema to xml file * @param string $file name of file -- 2.39.5