diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 13:17:26 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 13:17:26 +0100 |
commit | 5036e4527ff12034972f02dc011638bc06fbee81 (patch) | |
tree | 6f1ef404a6a8ed21cf0d70eaf599d379791951dd /lib/private/group | |
parent | 436ce1f4a69f15ed4232bf81f706c631a1a68663 (diff) | |
download | nextcloud-server-5036e4527ff12034972f02dc011638bc06fbee81.tar.gz nextcloud-server-5036e4527ff12034972f02dc011638bc06fbee81.zip |
Use IDbConnectin::insertIfNotExist
Diffstat (limited to 'lib/private/group')
-rw-r--r-- | lib/private/group/database.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/group/database.php b/lib/private/group/database.php index 8ea5a46c52b..21e7b103554 100644 --- a/lib/private/group/database.php +++ b/lib/private/group/database.php @@ -86,8 +86,7 @@ class OC_Group_Database extends OC_Group_Backend { $this->fixDI(); // Add group - $qb = $this->dbConn->getQueryBuilder(); - $result = $qb->insertIfNotExists('groups', [ + $result = $this->dbConn->insertIfNotExist('*PREFIX*groups', [ 'gid' => $gid, ]); |