Merge pull request #21570 from nextcloud/backport/21564/stable17

[stable17] fix obsolete usage of OCdialogs
This commit is contained in:
blizzz 2020-06-24 22:43:30 +02:00 committed by GitHub
commit 93d9ca1f3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -553,7 +553,7 @@ OCA = OCA || {};
) {
toggleFnc(true);
} else {
OCdialogs.confirm(
OC.dialogs.confirm(
t('user_ldap', 'Switching the mode will enable automatic LDAP queries. Depending on your LDAP size they may take a while. Do you still want to switch the mode?'),
t('user_ldap', 'Mode switch'),
toggleFnc