mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove empty parameter as per feedback
This commit is contained in:
parent
9e0ed0a50a
commit
d1075f29b8
@ -114,7 +114,6 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
$this->httpError(403, _t(
|
||||
__CLASS__ . '.ViewPermissionsFailure',
|
||||
'It seems you don\'t have the necessary permissions to view {ObjectTitle}',
|
||||
'',
|
||||
['ObjectTitle' => $this->record->singular_name()]
|
||||
));
|
||||
}
|
||||
@ -197,7 +196,6 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
return $controller->httpError(403, _t(
|
||||
__CLASS__ . '.ViewPermissionsFailure',
|
||||
'It seems you don\'t have the necessary permissions to view {ObjectTitle}',
|
||||
'',
|
||||
['ObjectTitle' => $this->record->singular_name()]
|
||||
));
|
||||
}
|
||||
@ -502,7 +500,6 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
$this->httpError(403, _t(
|
||||
__CLASS__ . '.EditPermissionsFailure',
|
||||
'It seems you don\'t have the necessary permissions to edit {ObjectTitle}',
|
||||
'',
|
||||
['ObjectTitle' => $this->record->singular_name()]
|
||||
));
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user