From cfde74442c67b9a6e639536536c18e4c6d4f7a0e Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 15 Sep 2020 17:01:33 +0200 Subject: optimize View::getPath if we already know the storage id Signed-off-by: Robin Appelman --- lib/private/Files/Cache/NullWatcher.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/private/Files/Cache') diff --git a/lib/private/Files/Cache/NullWatcher.php b/lib/private/Files/Cache/NullWatcher.php index 6ab886f05dc..57e43444fdc 100644 --- a/lib/private/Files/Cache/NullWatcher.php +++ b/lib/private/Files/Cache/NullWatcher.php @@ -27,7 +27,6 @@ class NullWatcher extends Watcher { private $policy; public function __construct() { - } public function setPolicy($policy) { @@ -43,7 +42,6 @@ class NullWatcher extends Watcher { } public function update($path, $cachedData) { - } public function needsUpdate($path, $cachedData) { @@ -51,6 +49,5 @@ class NullWatcher extends Watcher { } public function cleanFolder($path) { - } } -- cgit v1.2.3