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:
commit
a2ade4294c
12
lib/db.php
12
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
|
||||
|
|
Loading…
Reference in New Issue