diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-11-01 13:26:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 13:26:17 +0300 |
commit | d6a26b25364a1ab2183085d09546d8b075ceff6b (patch) | |
tree | 3fac0dd35a7a47c093d7fabcbd1133df7a8f9a11 /lib/private | |
parent | e1bf5c1cd37f29281ab775795b8af0edbb3fc11f (diff) |
Revert "add dav plugin to trigger recalculating of checksums"
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Files/View.php | 5 |
1 files changed, 2 insertions, 3 deletions
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; } /** |