diff options
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/lib/Listener/FileEventsListener.php | 5 |
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. |