Skip to content

Commit

Permalink
Revert "files_versions: add missing null check"
Browse files Browse the repository at this point in the history
  • Loading branch information
artonge committed Mar 8, 2024
1 parent b6691b3 commit 310c8be
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/files_versions/lib/Listener/FileEventsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,6 @@ public function write_hook(Node $node): void {
}

$path = $this->getPathForNode($node);

if ($path === null) {
return;
}

$result = Storage::store($path);

// Store the result of the version creation so it can be used in post_write_hook.
Expand Down

0 comments on commit 310c8be

Please sign in to comment.