style fixes for public db api

remotes/origin/stable45
Georg Ehrke 2012-09-08 16:00:32 +07:00
parent 221257d2fb
commit 6b2b8b10ee
1 changed files with 0 additions and 9 deletions

@ -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));
}
}