mirror of
https://github.com/getgrav/grav.git
synced 2026-02-28 01:21:30 +01:00
Fixed FlexDirectory::reloadIndex() to actually get the items from the filesystem
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user