summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-09 17:25:02 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-09 22:37:49 +0100
commit8fa692388b29979c56ff6d0229d20e09e8ecba65 (patch)
treee3d0e47582c55aa0b4f29ef935396a7747684dac /lib/private/appframework
parent94b7fa17c55ed5c194b506ca6ab426fa38119b3c (diff)
downloadnextcloud-server-8fa692388b29979c56ff6d0229d20e09e8ecba65.tar.gz
nextcloud-server-8fa692388b29979c56ff6d0229d20e09e8ecba65.zip
Allow specifying the compare-array for insertIfNotExists()
Diffstat (limited to 'lib/private/appframework')
-rw-r--r--lib/private/appframework/db/db.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/appframework/db/db.php b/lib/private/appframework/db/db.php
index 5387e36d627..18c32c948c5 100644
--- a/lib/private/appframework/db/db.php
+++ b/lib/private/appframework/db/db.php
@@ -138,8 +138,8 @@ class Db implements IDb {
* @return bool
*
*/
- public function insertIfNotExist($table, $input) {
- return $this->connection->insertIfNotExist($table, $input);
+ public function insertIfNotExist($table, $input, $compare = null) {
+ return $this->connection->insertIfNotExist($table, $input, $compare);
}
/**