Remove disconnect function from OC_DB
This commit is contained in:
parent
837cefd8a3
commit
a0b7bf78a6
1 changed files with 0 additions and 12 deletions
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 a new issue