Disable RequestHandler->handleAction() deprecation until we have fixed LeftAndMain usage

This commit is contained in:
Ingo Schommer 2013-03-22 13:30:30 +01:00
parent 00fb8cf679
commit 183396a8ab

View File

@ -157,7 +157,8 @@ class RequestHandler extends ViewableData {
// We used to put "handleAction" as the action on controllers, but (a) this could only be called when
// you had $Action in your rule, and (b) RequestHandler didn't have one. $Action is better
if ($action == 'handleAction') {
Deprecation::notice('3.2.0', 'Calling handleAction directly is deprecated - use $Action instead');
// TODO Fix LeftAndMain usage
// Deprecation::notice('3.2.0', 'Calling handleAction directly is deprecated - use $Action instead');
$action = '$Action';
}