mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Disable RequestHandler->handleAction() deprecation until we have fixed LeftAndMain usage
This commit is contained in:
parent
00fb8cf679
commit
183396a8ab
@ -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';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user