mirror of
https://github.com/nextcloud/server.git
synced 2026-02-24 10:26:07 -05:00
Fix variable names
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
31a503b387
commit
9a1df9ddca
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ class Version1130Date20211102154716 extends SimpleMigrationStep {
|
|||
$column->setLength(4096);
|
||||
$changeSchema = true;
|
||||
}
|
||||
if ($table === 'ldap_user_mapping') {
|
||||
if ($tableName === 'ldap_user_mapping') {
|
||||
if ($table->hasIndex('ldap_dn_users')) {
|
||||
$table->dropIndex('ldap_dn_users');
|
||||
$changeSchema = true;
|
||||
|
|
@ -132,7 +132,7 @@ class Version1130Date20211102154716 extends SimpleMigrationStep {
|
|||
protected function getUpdateQuery(string $table): IQueryBuilder {
|
||||
$q = $this->dbc->getQueryBuilder();
|
||||
$q->update($table)
|
||||
->set('ldap_dn_hash', $query->createParameter('dn_hash'))
|
||||
->set('ldap_dn_hash', $q->createParameter('dn_hash'))
|
||||
->where($q->expr()->eq('owncloud_name', $q->createParameter('name')));
|
||||
return $q;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue