summaryrefslogtreecommitdiff
path: root/actions/apiblockdestroy.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-25 13:14:33 -0700
committerBrion Vibber <brion@pobox.com>2010-10-25 13:14:33 -0700
commitb483a0549f115b2d5f2cfb3d447e6cc5c4f469f3 (patch)
treef63f4f3e93bad7611f4b5651171fc5122ec65455 /actions/apiblockdestroy.php
parent3b6f738ab73b7f77dd09ac21dd9446876776fc04 (diff)
parentca489631db840e33757a71a7e4cb56b187c182d3 (diff)
Merge branch '1.0.x' into schema-x
Conflicts: plugins/CacheLog/locale/nb/LC_MESSAGES/CacheLog.po
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.'));
}
-
}
-
}
-