Skip to content

Commit

Permalink
Fixing deprecated call to Director::redirect()
Browse files Browse the repository at this point in the history
  • Loading branch information
halkyon committed Oct 11, 2012
1 parent d4df26d commit 070eaf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/extensions/LeftAndMainSubsites.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function alternateAccessCheck() {
Subsite::changeSubsite($siteIDs[0]);
$cClass = $candidate->controller;
$cObj = new $cClass();
Director::redirect($cObj->Link());
$this->owner->redirect($cObj->Link());
return null;
}
}
Expand Down

0 comments on commit 070eaf5

Please sign in to comment.