git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

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