aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Events/NodeRestoredEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/Events/NodeRestoredEvent.php')
-rw-r--r--apps/files_trashbin/lib/Events/NodeRestoredEvent.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/Events/NodeRestoredEvent.php b/apps/files_trashbin/lib/Events/NodeRestoredEvent.php
new file mode 100644
index 00000000000..4278d6cfe95
--- /dev/null
+++ b/apps/files_trashbin/lib/Events/NodeRestoredEvent.php
@@ -0,0 +1,21 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCA\Files_Trashbin\Events;
+
+use OCP\Files\Events\Node\AbstractNodesEvent;
+use OCP\Files\Node;
+
+/**
+ * @since 28.0.0
+ */
+class NodeRestoredEvent extends AbstractNodesEvent {
+ public function __construct(Node $source, Node $target) {
+ parent::__construct($source, $target);
+ }
+}