diff --git a/lib/db.php b/lib/db.php
index ebd012c72f812f29cfed7e6da469471bb762aedb..f090f474243c8a4f34b2a9bb3370235d379de071 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