blob: ec07c72e7a75517ffdf6f630cb2387c84185c113 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\DAV\Migration;
use OCA\DAV\CardDAV\SyncService;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
class CreateSystemAddressBookStep implements IRepairStep {
public function __construct(
private SyncService $syncService,
) {
}
public function getName(): string {
return 'Create system address book';
}
public function run(IOutput $output): void {
$this->syncService->ensureLocalSystemAddressBookExists();
}
}
|