X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fgrantroleform.php;h=6887e07e5d6f1a9be78530f4999ca2360e685b1b;hb=b24d711f552854d88f2df2120672bdaf173335fc;hp=b5f952746ebe245eb46813f3c07971e90185bd71;hpb=c89ed16d24d56879bf40a70d500509d1d42a4532;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); } }