Commit 0a2c5151 authored by mmn's avatar mmn

FormAction wants getInstructions to be protected

only showInstructions is public
parent c79b9a22
...@@ -172,7 +172,7 @@ class LoginAction extends FormAction ...@@ -172,7 +172,7 @@ class LoginAction extends FormAction
* *
* @return void * @return void
*/ */
function getInstructions() protected function getInstructions()
{ {
if (common_logged_in() && !common_is_real_login() && if (common_logged_in() && !common_is_real_login() &&
common_get_returnto()) { common_get_returnto()) {
......
...@@ -66,7 +66,7 @@ class NewApplicationAction extends FormAction ...@@ -66,7 +66,7 @@ class NewApplicationAction extends FormAction
return new ApplicationEditForm($this); return new ApplicationEditForm($this);
} }
public function getInstructions() protected function getInstructions()
{ {
// TRANS: Form instructions for registering a new application. // TRANS: Form instructions for registering a new application.
return _('Use this form to register a new application.'); return _('Use this form to register a new application.');
......
...@@ -92,7 +92,7 @@ class FormAction extends ManagedAction ...@@ -92,7 +92,7 @@ class FormAction extends ManagedAction
/** /**
* @return string with instructions to pass into common_markup_to_html() * @return string with instructions to pass into common_markup_to_html()
*/ */
public function getInstructions() protected function getInstructions()
{ {
return null; return null;
} }
......
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