X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fleavegroup.php;fp=actions%2Fleavegroup.php;h=90c85e1a4e6e602eed57d7b552745564f8c41ae2;hb=a1c3a2d3a12c1667492e4107007b31ec3a1f9c7b;hp=08fce150980eb406fce36bf46ceff307bf66ba32;hpb=22a88fb850ecbfbf2c74accea605ee2942d3b0e4;p=quix0rs-gnu-social.git diff --git a/actions/leavegroup.php b/actions/leavegroup.php index 08fce15098..90c85e1a4e 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)); }