Skip to content
Snippets Groups Projects
Commit 6b2b8b10 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

style fixes for public db api

parent 221257d2
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment