Skip to content

Commit

Permalink
Merge pull request #5 from xini/pull-remove-preloading
Browse files Browse the repository at this point in the history
remove preloading of pages as it interferes with custom code
  • Loading branch information
dizzystuff authored Jan 2, 2024
2 parents aeb0925 + 9faf40e commit 269c152
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Extensions/ListingsControllerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ class ListingsControllerExtension extends Extension
private static $listed_pages_classes = [];
private static $listed_pages_index_only = false;

public function onBeforeInit()
{
$this->owner->getListedPages();
}

public function getListedPages()
{
if ($this->owner->hasDynamicData('listedPages')) {
Expand Down

0 comments on commit 269c152

Please sign in to comment.