mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Fixed FlexDirectory::reloadIndex() to actually get the items from the filesystem
This commit is contained in:
parent
ec3175fc89
commit
32dd550178
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user