Revert "files_versions: add missing null check"

pull/44083/head
Louis 2024-03-08 10:33:30 +07:00 committed by GitHub
parent b6691b35c7
commit 310c8be748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

@ -194,11 +194,6 @@ class FileEventsListener implements IEventListener {
}
$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.