mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Remove default paramenter from handleRequest() so it complies with the interface correctly. Fixes E_STRICT warning.
This commit is contained in:
parent
daab8f4cbc
commit
d368f3605b
@ -122,7 +122,7 @@ class Controller extends RequestHandler implements TemplateGlobalProvider {
|
|||||||
* @return SS_HTTPResponse The response that this controller produces,
|
* @return SS_HTTPResponse The response that this controller produces,
|
||||||
* including HTTP headers such as redirection info
|
* including HTTP headers such as redirection info
|
||||||
*/
|
*/
|
||||||
function handleRequest(SS_HTTPRequest $request, DataModel $model = null) {
|
function handleRequest(SS_HTTPRequest $request, DataModel $model) {
|
||||||
if(!$request) user_error("Controller::handleRequest() not passed a request!", E_USER_ERROR);
|
if(!$request) user_error("Controller::handleRequest() not passed a request!", E_USER_ERROR);
|
||||||
|
|
||||||
$this->pushCurrent();
|
$this->pushCurrent();
|
||||||
|
Loading…
Reference in New Issue
Block a user