Skip to content

Commit

Permalink
fix(FileListener): PostInsert Exception
Browse files Browse the repository at this point in the history
fixes #1154

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Jul 5, 2024
1 parent c22737c commit 29fe792
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Hooks/FileListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 29fe792

Please sign in to comment.