summaryrefslogtreecommitdiff
path: root/actions/leavegroup.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-07 09:53:29 +0000
committerSarven Capadisli <csarven@status.net>2010-01-07 09:53:29 +0000
commite53512cd2c2180f81fc7317de9df09a140099aa3 (patch)
tree0ce2990af79feb5c2fb048841d0c61c184dbba00 /actions/leavegroup.php
parentd17c2d8ebacb799e7dd6bebe249df765ea918880 (diff)
parentf4fa785fb7cf6f222f77ad81f6a1e50e5af7fdf3 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/leavegroup.php')
-rw-r--r--actions/leavegroup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/leavegroup.php b/actions/leavegroup.php
index 08fce1509..90c85e1a4 100644
--- a/actions/leavegroup.php
+++ b/actions/leavegroup.php
@@ -123,8 +123,8 @@ 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 %s from group %s'),
$cur->nickname, $this->group->nickname));
}