diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/cache/cache.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/files/cache/cache.php b/lib/private/files/cache/cache.php index 274d97822f5..8cf097421d4 100644 --- a/lib/private/files/cache/cache.php +++ b/lib/private/files/cache/cache.php @@ -466,10 +466,6 @@ class Cache { */ public function remove($file) { $entry = $this->get($file); - if (!isset($entry['fileid'])) { - // perhaps file was deleted in the mean time? - return; - } $sql = 'DELETE FROM `*PREFIX*filecache` WHERE `fileid` = ?'; \OC_DB::executeAudited($sql, array($entry['fileid'])); if ($entry['mimetype'] === 'httpd/unix-directory') { |