Commit 0bed623a authored by alexpott's avatar alexpott

Issue #2002436 by baldwinlouie: Rename Views method default_access_denied() to...

Issue #2002436 by baldwinlouie: Rename Views method default_access_denied() to defaultAccessDenied().
parent f122f256
......@@ -474,7 +474,7 @@ function default_actions($which = NULL) {
),
'access denied' => array(
'title' => t('Display "Access Denied"'),
'method' => 'default_access_denied',
'method' => 'defaultAccessDenied',
'breadcrumb' => FALSE, // generate a breadcrumb to here
),
);
......@@ -703,7 +703,7 @@ function default_not_found() {
* If an argument was expected and was not given, in this case, report
* the view as 'access denied'.
*/
function default_access_denied() {
public function defaultAccessDenied() {
$this->view->build_info['denied'] = TRUE;
return FALSE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment