Skip to content

Commit

Permalink
Update on afterdelete for ss5
Browse files Browse the repository at this point in the history
  • Loading branch information
josephlewisnz authored Nov 28, 2024
1 parent 928a808 commit a26173b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ElementalSearchExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function onAfterPublish(&$original)
* Force a re-index of the parent page on archive of element
* @param Versioned $original
*/
public function onAfterDelete(&$original)
public function onAfterDelete()
{
$this->updateSearchContent();
}
Expand All @@ -45,4 +45,4 @@ public function updateSearchContent()
}
}
}
}
}

0 comments on commit a26173b

Please sign in to comment.