summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-08-16 19:05:07 +0200
committerBart Visscher <bartv@thisnet.nl>2013-08-16 19:05:07 +0200
commita0b7bf78a6e1c269adc8ee1c84b72a8d205a6f28 (patch)
treedc0309373878ca6167e97e8aeea0aa7c12575100 /lib/db.php
parent837cefd8a3a7540b37afb42312f1397baa70c3ac (diff)
downloadnextcloud-server-a0b7bf78a6e1c269adc8ee1c84b72a8d205a6f28.tar.gz
nextcloud-server-a0b7bf78a6e1c269adc8ee1c84b72a8d205a6f28.zip
Remove disconnect function from OC_DB
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/db.php b/lib/db.php
index ebd012c72f8..f090f474243 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -330,18 +330,6 @@ class OC_DB {
}
/**
- * @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
* @param int $mode