diff --git a/lib/Hooks/FileListener.php b/lib/Hooks/FileListener.php index 4944124c..abc7947d 100644 --- a/lib/Hooks/FileListener.php +++ b/lib/Hooks/FileListener.php @@ -295,7 +295,6 @@ public function postDelete(Node $node, bool $recurse = true): void { * @throws \OCP\Files\InvalidPathException */ public function postInsert(Node $node, bool $recurse = true): void { - throw new \Exception('postInsert'); if ($node->getType() === FileInfo::TYPE_FOLDER) { if (!$recurse) { return;