summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/group/database.php3
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,
]);