fix insert values

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-11-06 13:30:19 +01:00
parent 4104416e81
commit c96a9a9001
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 2 deletions

View File

@ -204,8 +204,8 @@ class UpdateGroups extends TimedJob {
$query = $this->dbc->getQueryBuilder();
$query->insert('ldap_group_members')
->set('owncloudname', $query->createParameter('owncloudname'))
->set('owncloudusers', $query->createParameter('owncloudusers'));
->setValue('owncloudname', $query->createParameter('owncloudname'))
->setValue('owncloudusers', $query->createParameter('owncloudusers'));
foreach ($createdGroups as $createdGroup) {
\OCP\Util::writeLog('user_ldap',
'bgJ "updateGroups" new group "' . $createdGroup . '" found.',