mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commented out $currentController references, these are deprecated statics
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40759 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3bc0eaafbb
commit
bcb4abd61b
@ -136,7 +136,7 @@ class Security extends Controller {
|
|||||||
"Form" => $this->LostPasswordForm(),
|
"Form" => $this->LostPasswordForm(),
|
||||||
));
|
));
|
||||||
|
|
||||||
Controller::$currentController = $controller;
|
//Controller::$currentController = $controller;
|
||||||
return $customisedController->renderWith("Page");
|
return $customisedController->renderWith("Page");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ class Security extends Controller {
|
|||||||
"Content" => "<p>Thank you, your password has been sent to '$email'.</p>",
|
"Content" => "<p>Thank you, your password has been sent to '$email'.</p>",
|
||||||
));
|
));
|
||||||
|
|
||||||
Controller::$currentController = $controller;
|
//Controller::$currentController = $controller;
|
||||||
return $customisedController->renderWith("Page");
|
return $customisedController->renderWith("Page");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user