mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
- Add missing type hinting - Use only public methods from IStorage instead of relying on internal \OC\Storage methods - Refactor HomePropagator to use ignore argument from Propagator instead of reimplementing the same logic. Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
19 lines
492 B
PHP
19 lines
492 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
namespace OC\Files\Cache;
|
|
|
|
use OCP\Files\Storage\IStorage;
|
|
use OCP\IDBConnection;
|
|
|
|
class HomePropagator extends Propagator {
|
|
public function __construct(IStorage $storage, IDBConnection $connection) {
|
|
parent::__construct($storage, $connection, ignore: ['files_encryption']);
|
|
}
|
|
}
|