diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-12-19 00:32:46 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-12-19 00:32:46 +0100 |
commit | 5eae75eeca825adedccb1ee29793ffab0502d6e9 (patch) | |
tree | 30df0bccd260d08c0922b336696effe145559065 /lib/public/db.php | |
parent | 6c2a425686d30bdd0409112a5555b5f9c2df732b (diff) | |
download | nextcloud-server-5eae75eeca825adedccb1ee29793ffab0502d6e9.tar.gz nextcloud-server-5eae75eeca825adedccb1ee29793ffab0502d6e9.zip |
kill MDB2 in PHPDoc
Diffstat (limited to 'lib/public/db.php')
-rw-r--r-- | lib/public/db.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/db.php b/lib/public/db.php index c9997c79c3c..5dcb2d9bf4a 100644 --- a/lib/public/db.php +++ b/lib/public/db.php @@ -39,9 +39,9 @@ class DB { * @param string $query Query string * @param int $limit Limit of the SQL statement * @param int $offset Offset of the SQL statement - * @return \MDB2_Statement_Common prepared SQL query + * @return \Doctrine\DBAL\Statement prepared SQL query * - * SQL query via MDB2 prepare(), needs to be execute()'d! + * SQL query via Doctrine prepare(), needs to be execute()'d! */ static public function prepare( $query, $limit=null, $offset=null ) { return(\OC_DB::prepare($query, $limit, $offset)); @@ -73,7 +73,7 @@ class DB { * @param $table string The optional table name (will replace *PREFIX*) and add sequence suffix * @return int * - * MDB2 lastInsertID() + * \Doctrine\DBAL\Connection lastInsertID() * * Call this method right after the insert command or other functions may * cause trouble! @@ -97,7 +97,7 @@ class DB { } /** - * Check if a result is an error, works with MDB2 and PDOException + * Check if a result is an error, works with Doctrine * @param mixed $result * @return bool */ |