From: Bart Visscher Date: Fri, 16 Aug 2013 17:05:07 +0000 (+0200) Subject: Remove disconnect function from OC_DB X-Git-Tag: v6.0.0alpha2~192^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a0b7bf78a6e1c269adc8ee1c84b72a8d205a6f28;p=nextcloud-server.git Remove disconnect function from OC_DB --- 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