diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-03-09 17:25:02 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-09 22:37:49 +0100 |
commit | 8fa692388b29979c56ff6d0229d20e09e8ecba65 (patch) | |
tree | e3d0e47582c55aa0b4f29ef935396a7747684dac /lib/public/db.php | |
parent | 94b7fa17c55ed5c194b506ca6ab426fa38119b3c (diff) | |
download | nextcloud-server-8fa692388b29979c56ff6d0229d20e09e8ecba65.tar.gz nextcloud-server-8fa692388b29979c56ff6d0229d20e09e8ecba65.zip |
Allow specifying the compare-array for insertIfNotExists()
Diffstat (limited to 'lib/public/db.php')
-rw-r--r-- | lib/public/db.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/db.php b/lib/public/db.php index e8fc817106e..50e519bbe91 100644 --- a/lib/public/db.php +++ b/lib/public/db.php @@ -64,8 +64,8 @@ class DB { * @return bool * */ - public static function insertIfNotExist($table, $input) { - return(\OC_DB::insertIfNotExist($table, $input)); + public static function insertIfNotExist($table, $input, $compare = null) { + return(\OC_DB::insertIfNotExist($table, $input, $compare)); } /** |