X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapiblockdestroy.php;h=7dd0859e9c8a192bfc375531cc2c6d3f05d07b0c;hb=446c2ab666f167ab1e9fcbb9e6c8ff2153cc78dc;hp=b699077849c5ffa025dc678d5d877b5c19171d31;hpb=60b66bdd6e3bbc083aec6126b8583714dc24b94d;p=quix0rs-gnu-social.git diff --git a/actions/apiblockdestroy.php b/actions/apiblockdestroy.php index b699077849..7dd0859e9c 100644 --- a/actions/apiblockdestroy.php +++ b/actions/apiblockdestroy.php @@ -55,7 +55,6 @@ class ApiBlockDestroyAction extends ApiAuthAction * @param array $args $_REQUEST args * * @return boolean success flag - * */ function prepare($args) { @@ -91,6 +90,7 @@ class ApiBlockDestroyAction extends ApiAuthAction } if (empty($this->user) || empty($this->other)) { + // TRANS: Client error when user not found for an API action to remove a block for a user. $this->clientError(_('No such user.'), 404, $this->format); return; }