Fix incorrect translator documentation. Spotted by AVRS.
This commit is contained in:
parent
889b35be9c
commit
52d29a17a0
@ -237,8 +237,7 @@ class AtompubmembershipfeedAction extends ApiAuthAction
|
|||||||
|
|
||||||
if (Event::handle('StartAtomPubNewActivity', array(&$activity))) {
|
if (Event::handle('StartAtomPubNewActivity', array(&$activity))) {
|
||||||
if ($activity->verb != ActivityVerb::JOIN) {
|
if ($activity->verb != ActivityVerb::JOIN) {
|
||||||
// TRANS: Client error displayed when not using the POST verb.
|
// TRANS: Client error displayed when not using the join verb.
|
||||||
// TRANS: Do not translate POST.
|
|
||||||
throw new ClientException(_('Can only handle join activities.'));
|
throw new ClientException(_('Can only handle join activities.'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user