Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Minor updates to class definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Glasl committed Nov 2, 2015
1 parent 030c7c8 commit 35fa17b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/tasks/MisdirectionHistoricalLinkMappingTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function processRecords($records) {

// Generate new URLs for each child element.

$children = $this->getChildPages($replayRecord['ID']);
$children = $this->getChildren($replayRecord['ID']);
$this->updateURLs($children);
}
}
Expand All @@ -118,7 +118,7 @@ protected function updateURLs($records) {

$URL = $this->getURLForRecord($record);
$this->addMappingToList($URL, $record['ID']);
$children = $this->getChildPages($record['ID']);
$children = $this->getChildren($record['ID']);
$this->updateURLs($children);
}
}
Expand Down Expand Up @@ -176,7 +176,7 @@ protected function getReplayRecordByID($ID) {
* @return ss query
*/

protected function getChildPages($ID) {
protected function getChildren($ID) {

$query = new SQLQuery('*', $this->replayTable, 'ParentID = ' . (int)$ID);
return $query->execute();
Expand Down

0 comments on commit 35fa17b

Please sign in to comment.