forked from GNUsocial/gnu-social
FormAction wants getInstructions to be protected
only showInstructions is public
This commit is contained in:
parent
c79b9a2289
commit
0a2c51510c
@ -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
|
|||||||
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
|
|||||||
/**
|
/**
|
||||||
* @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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user