mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 01:00:50 -04:00
Merge pull request #40416 from nextcloud/fix/noid/check-for-user-count
This commit is contained in:
commit
4a8bb597b4
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class Version1027Date20230504122946 extends SimpleMigrationStep {
|
|||
* @param array $options
|
||||
*/
|
||||
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void {
|
||||
if($this->userManager->countUsers() > 1000) {
|
||||
if($this->userManager->countSeenUsers() > 1000) {
|
||||
$this->config->setAppValue('dav', 'needs_system_address_book_sync', 'yes');
|
||||
$output->info('Could not sync system address books during update - too many user records have been found. Please call occ dav:sync-system-addressbook manually.');
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue