Skip to content

Commit

Permalink
Fix extension hook
Browse files Browse the repository at this point in the history
  • Loading branch information
xini authored Jun 22, 2023
1 parent fdc80f0 commit a478000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/ListingsRootPageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function getExcludedSiteTreeClassNames()
return $classes;
}

public function augmentAllChildrenIncludingDeleted(&$stageChildren, &$context)
public function augmentAllChildrenIncludingDeleted(&$stageChildren)
{
if ($this->shouldFilter()) {
$stageChildren = $stageChildren->exclude('ClassName', $this->getExcludedSiteTreeClassNames());
Expand Down

0 comments on commit a478000

Please sign in to comment.