From: Georg Ehrke Date: Sat, 8 Sep 2012 14:00:32 +0000 (+0200) Subject: style fixes for public db api X-Git-Tag: v4.5.0beta3~8^2~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6b2b8b10ee771776023e64a62f59c1bd620605fb;p=nextcloud-server.git style fixes for public db api --- diff --git a/lib/public/db.php b/lib/public/db.php index 5ac356bb475..6ce62b27ca2 100644 --- a/lib/public/db.php +++ b/lib/public/db.php @@ -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)); } - - - }