Skip to content
Snippets Groups Projects
Commit 5036e452 authored by Thomas Müller's avatar Thomas Müller
Browse files

Use IDbConnectin::insertIfNotExist

parent 436ce1f4
No related branches found
No related tags found
No related merge requests found
......@@ -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,
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment