From ec0f80fee927ca572671ac7c733b960fb027e91f Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@owncloud.com>
Date: Wed, 5 Nov 2014 13:05:07 +0100
Subject: Split mapping from Access and Helper classes into it's own. Fully
 test them, too.

remove unused methods

split mapping methods off from Access class

fix DB query handling

move 'clear mapping' methods from static helper to new mapping class

add tests

test directly with DB

finishing tests and fix return value from setDNbyUUID

add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class.

add missing info to PHPDoc

add unmap method

fix namespaces

fix test inheritance

PHPDoc and a small code restructure for scrutinizer, no effective changes

PostgreSQL does not accept LIMIT in DELETE queries

phpdoc fixes, no code changes
---
 lib/private/db/connection.php | 1 +
 1 file changed, 1 insertion(+)

(limited to 'lib/private')

diff --git a/lib/private/db/connection.php b/lib/private/db/connection.php
index 9de7a719ff5..d10adee558c 100644
--- a/lib/private/db/connection.php
+++ b/lib/private/db/connection.php
@@ -142,6 +142,7 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection {
 	 * Insert a row if a matching row doesn't exists.
 	 * @param string $table. The table to insert into in the form '*PREFIX*tableName'
 	 * @param array $input. An array of fieldname/value pairs
+	 * @throws \OC\HintException
 	 * @return bool The return value from execute()
 	 */
 	public function insertIfNotExist($table, $input) {
-- 
cgit v1.2.3