summaryrefslogtreecommitdiff
path: root/actions/leavegroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/leavegroup.php')
-rw-r--r--actions/leavegroup.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/leavegroup.php b/actions/leavegroup.php
index 08fce1509..b0f973e1a 100644
--- a/actions/leavegroup.php
+++ b/actions/leavegroup.php
@@ -123,15 +123,15 @@ class LeavegroupAction extends Action
$result = $member->delete();
if (!$result) {
- common_log_db_error($member, 'INSERT', __FILE__);
- $this->serverError(sprintf(_('Could not remove user %s to group %s'),
+ common_log_db_error($member, 'DELETE', __FILE__);
+ $this->serverError(sprintf(_('Could not remove user %1$s from group %2$s.'),
$cur->nickname, $this->group->nickname));
}
if ($this->boolean('ajax')) {
$this->startHTML('text/xml;charset=utf-8');
$this->elementStart('head');
- $this->element('title', null, sprintf(_('%s left group %s'),
+ $this->element('title', null, sprintf(_('%1$s left group %2$s'),
$cur->nickname,
$this->group->nickname));
$this->elementEnd('head');