mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
24 lines
496 B
PHP
24 lines
496 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2025 Robin Appelman <robin@icewind.nl>
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\Files_External\Event;
|
|
|
|
use OCA\Files_External\Lib\StorageConfig;
|
|
use OCP\EventDispatcher\Event;
|
|
|
|
class StorageDeletedEvent extends Event {
|
|
public function __construct(
|
|
private readonly StorageConfig $oldConfig,
|
|
) {
|
|
parent::__construct();
|
|
}
|
|
|
|
public function getOldConfig(): StorageConfig {
|
|
return $this->oldConfig;
|
|
}
|
|
}
|