diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 10:18:38 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 14:54:55 +0100 |
commit | 0a41cfefe38e8bf352895f2b87dd9a04fd627094 (patch) | |
tree | b965a0cc879ba604915a0d8b0d890888317dcf0e /lib/private/db.php | |
parent | 3917d888bde42336abb1d2ecbef04ae7530e5c14 (diff) | |
download | nextcloud-server-0a41cfefe38e8bf352895f2b87dd9a04fd627094.tar.gz nextcloud-server-0a41cfefe38e8bf352895f2b87dd9a04fd627094.zip |
Remove beginTransaction, commit, rollback from OC_DB
Diffstat (limited to 'lib/private/db.php')
-rw-r--r-- | lib/private/db.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/private/db.php b/lib/private/db.php index bac0f600e95..f5f0c8798cd 100644 --- a/lib/private/db.php +++ b/lib/private/db.php @@ -173,27 +173,6 @@ class OC_DB { } /** - * Start a transaction - */ - public static function beginTransaction() { - return \OC::$server->getDatabaseConnection()->beginTransaction(); - } - - /** - * Commit the database changes done during a transaction that is in progress - */ - public static function commit() { - return \OC::$server->getDatabaseConnection()->commit(); - } - - /** - * Rollback the database changes done during a transaction that is in progress - */ - public static function rollback() { - return \OC::$server->getDatabaseConnection()->rollback(); - } - - /** * saves database schema to xml file * @param string $file name of file * @param int $mode |