nextcloud/lib/private/Files/Cache/HomePropagator.php
Carl Schwan 475c84722f refactor(IPropagator): Cleanup implementation
- 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>
2025-10-08 17:15:18 +02:00

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']);
}
}