Does a database query searching through past URLs of top-level pages, returning any URLs previously used for pages in the SiteTree. This is to ensure that OldPageRedirector rules still apply correctly. That is, to ensure that pages that have been renamed continue to redirect to their current versions, we add the pages' old URLs to the whitelist.
Signature
protected function find_old_top_level_pages(
$currentTopLevelPages )