X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fgrantroleform.php;h=6887e07e5d6f1a9be78530f4999ca2360e685b1b;hb=14fe22e4307044f2eb08264a7b83f9c2de245dba;hp=b5f952746ebe245eb46813f3c07971e90185bd71;hpb=0624f7fd702eff41f686e4e5121b9b2741e8ab0e;p=quix0rs-gnu-social.git diff --git a/lib/grantroleform.php b/lib/grantroleform.php index b5f952746e..6887e07e5d 100644 --- a/lib/grantroleform.php +++ b/lib/grantroleform.php @@ -42,7 +42,6 @@ if (!defined('STATUSNET')) { * * @see UnSandboxForm */ - class GrantRoleForm extends ProfileActionForm { function __construct($role, $label, $writer, $profile, $r2args) @@ -57,7 +56,6 @@ class GrantRoleForm extends ProfileActionForm * * @return string Name of the action, lowercased. */ - function target() { return 'grantrole'; @@ -68,7 +66,6 @@ class GrantRoleForm extends ProfileActionForm * * @return string Title of the form, internationalized */ - function title() { return $this->label; @@ -85,9 +82,9 @@ class GrantRoleForm extends ProfileActionForm * * @return string description of the form, internationalized */ - function description() { + // TRANS: Description on form for granting a role. return sprintf(_('Grant this user the "%s" role'), $this->label); } }