]> source.dussan.org Git - nextcloud-server.git/commitdiff
style fixes for public db api
authorGeorg Ehrke <dev@georgswebsite.de>
Sat, 8 Sep 2012 14:00:32 +0000 (16:00 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Sat, 8 Sep 2012 14:00:32 +0000 (16:00 +0200)
lib/public/db.php

index 5ac356bb475df7a9357c5445b7df9c64f9b315c5..6ce62b27ca27d22ee87b0d5d9f86bc000d0acc99 100644 (file)
@@ -34,8 +34,6 @@ namespace OCP;
  * This class provides access to the internal database system. Use this class exlusively if you want to access databases
  */
 class DB {
-
-
        /**
         * @brief Prepare a SQL query
         * @param $query Query string
@@ -47,7 +45,6 @@ class DB {
                return(\OC_DB::prepare($query,$limit,$offset));
        }
 
-
        /**
         * @brief gets last value of autoincrement
         * @param $table string The optional table name (will replace *PREFIX*) and add sequence suffix
@@ -62,7 +59,6 @@ class DB {
                return(\OC_DB::insertid($table));
        }
 
-
        /**
         * @brief Start a transaction
         */
@@ -70,7 +66,6 @@ class DB {
                return(\OC_DB::beginTransaction());
        }
 
-
        /**
         * @brief Commit the database changes done during a transaction that is in progress
         */
@@ -78,7 +73,6 @@ class DB {
                return(\OC_DB::commit());
        }
 
-
        /**
         * @brief check if a result is an error, works with MDB2 and PDOException
         * @param mixed $result
@@ -87,7 +81,4 @@ class DB {
        public static function isError($result) {
                return(\OC_DB::isError($result));
        }
-
-
-
 }