Merge pull request #4472 from owncloud/remove-disconnect

Remove disconnect function from OC_DB

* owncloud/remove-disconnect:
  Remove disconnect function from OC_DB
This commit is contained in:
Andreas Fischer 2013-09-10 21:48:56 +02:00
commit a2ade4294c
1 changed files with 0 additions and 12 deletions

View 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