summaryrefslogtreecommitdiffstats
path: root/lib/private/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/db.php')
-rw-r--r--lib/private/db.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/db.php b/lib/private/db.php
index dc25092e276..3993ae27748 100644
--- a/lib/private/db.php
+++ b/lib/private/db.php
@@ -172,8 +172,8 @@ class OC_DB {
* @param array $input An array of fieldname/value pairs
* @return boolean number of updated rows
*/
- public static function insertIfNotExist($table, $input) {
- return \OC::$server->getDatabaseConnection()->insertIfNotExist($table, $input);
+ public static function insertIfNotExist($table, $input, $compare = null) {
+ return \OC::$server->getDatabaseConnection()->insertIfNotExist($table, $input, $compare);
}
/**