FormAction wants getInstructions to be protected

only showInstructions is public
This commit is contained in:
Mikael Nordfeldth 2015-03-10 21:46:33 +01:00
parent c79b9a2289
commit 0a2c51510c
3 changed files with 3 additions and 3 deletions

View File

@ -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()) {

View File

@ -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.');

View File

@ -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;
}