diff options
Diffstat (limited to 'lib/public/DB.php')
-rw-r--r-- | lib/public/DB.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB.php b/lib/public/DB.php index d22da39d9c2..5018392f650 100644 --- a/lib/public/DB.php +++ b/lib/public/DB.php @@ -57,7 +57,7 @@ class DB { * @since 4.5.0 */ static public function prepare( $query, $limit=null, $offset=null ) { - return(\OC_DB::prepare($query, $limit, $offset)); + return \OC_DB::prepare($query, $limit, $offset); } /** @@ -117,7 +117,7 @@ class DB { * @since 8.0.0 */ public static function rollback() { - \OC::$server->getDatabaseConnection()->rollback(); + \OC::$server->getDatabaseConnection()->rollBack(); } /** |