]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove disconnect function from OC_DB
authorBart Visscher <bartv@thisnet.nl>
Fri, 16 Aug 2013 17:05:07 +0000 (19:05 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 16 Aug 2013 17:05:07 +0000 (19:05 +0200)
lib/db.php

index ebd012c72f812f29cfed7e6da469471bb762aedb..f090f474243c8a4f34b2a9bb3370235d379de071 100644 (file)
@@ -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