summaryrefslogtreecommitdiff
path: root/actions/apiblockdestroy.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-21 01:53:42 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-21 01:53:42 +0200
commit1603b7afc976cf1c19227f50163b9b48cc839a8b (patch)
tree4aade84df4f6b3f2863276f880572c8af1ea0eb3 /actions/apiblockdestroy.php
parent8fd44a13bfb765f98086de8897a09e729c3ddf75 (diff)
i18n/L10n updates, translator comments added/fixed, superfluous whitespace removed.
Diffstat (limited to 'actions/apiblockdestroy.php')
-rw-r--r--actions/apiblockdestroy.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/actions/apiblockdestroy.php b/actions/apiblockdestroy.php
index 871ce66c7..b69907784 100644
--- a/actions/apiblockdestroy.php
+++ b/actions/apiblockdestroy.php
@@ -45,7 +45,6 @@ require_once INSTALLDIR . '/lib/apiauth.php';
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class ApiBlockDestroyAction extends ApiAuthAction
{
var $other = null;
@@ -58,7 +57,6 @@ class ApiBlockDestroyAction extends ApiAuthAction
* @return boolean success flag
*
*/
-
function prepare($args)
{
parent::prepare($args);
@@ -78,7 +76,6 @@ class ApiBlockDestroyAction extends ApiAuthAction
*
* @return void
*/
-
function handle($args)
{
parent::handle($args);
@@ -112,10 +109,8 @@ class ApiBlockDestroyAction extends ApiAuthAction
$this->showProfile($this->other, $this->format);
$this->endDocument($this->format);
} else {
+ // TRANS: Server error displayed when unblocking a user has failed.
$this->serverError(_('Unblock user failed.'));
}
-
}
-
}
-