From 32dd550178e79a0aa51cdbedae552f14b72f0926 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Wed, 29 Jun 2022 21:32:50 +0300 Subject: [PATCH] Fixed FlexDirectory::reloadIndex() to actually get the items from the filesystem --- system/src/Grav/Framework/Flex/FlexDirectory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/src/Grav/Framework/Flex/FlexDirectory.php b/system/src/Grav/Framework/Flex/FlexDirectory.php index 04f5f0cfb..dce8bf523 100644 --- a/system/src/Grav/Framework/Flex/FlexDirectory.php +++ b/system/src/Grav/Framework/Flex/FlexDirectory.php @@ -788,6 +788,7 @@ class FlexDirectory implements FlexDirectoryInterface public function reloadIndex(): void { $this->getCache('index')->clear(); + $this->getIndex()::loadEntriesFromStorage($this->getStorage()); $this->indexes = []; $this->objects = [];