aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorLouis <louis@chmn.me>2024-03-08 10:33:30 +0000
committerGitHub <noreply@github.com>2024-03-08 10:33:30 +0000
commit310c8be7489aa19bf32caa3ce22584d5635cd4c2 (patch)
treedbf81315f83c3fac4f6a467c7d5a16390f56755a /apps/files_versions
parentb6691b35c7be946f038a6c8c6d221e64c60788f4 (diff)
downloadnextcloud-server-310c8be7489aa19bf32caa3ce22584d5635cd4c2.tar.gz
nextcloud-server-310c8be7489aa19bf32caa3ce22584d5635cd4c2.zip
Revert "files_versions: add missing null check"
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/lib/Listener/FileEventsListener.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files_versions/lib/Listener/FileEventsListener.php b/apps/files_versions/lib/Listener/FileEventsListener.php
index 0f795669d30..84cffc2c1fd 100644
--- a/apps/files_versions/lib/Listener/FileEventsListener.php
+++ b/apps/files_versions/lib/Listener/FileEventsListener.php
@@ -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.