From d6a26b25364a1ab2183085d09546d8b075ceff6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Mon, 1 Nov 2021 11:26:17 +0100 Subject: Revert "add dav plugin to trigger recalculating of checksums" --- lib/private/Files/View.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/private/Files/View.php') diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index cafa6952a62..113290e2686 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1082,7 +1082,7 @@ class View { * @param string $type * @param string $path * @param bool $raw - * @return bool|string + * @return bool|null|string */ public function hash($type, $path, $raw = false) { $postFix = (substr($path, -1) === '/') ? '/' : ''; @@ -1099,13 +1099,12 @@ class View { [Filesystem::signal_param_path => $this->getHookPath($path)] ); } - /** @var Storage|null $storage */ [$storage, $internalPath] = Filesystem::resolvePath($absolutePath . $postFix); if ($storage) { return $storage->hash($type, $internalPath, $raw); } } - return false; + return null; } /** -- cgit v1.2.3