X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgroupunblock.php;h=6f26108155b647ebaed33f84bcdda85eee0fd578;hb=0cd93c276136f849070b05965cf681734f7b9f09;hp=c14ec04adc3dbeec9b0582c8ff66db5946b7c886;hpb=12588b1cf73fad7d0a76a29a46ec355150eaa54e;p=quix0rs-gnu-social.git diff --git a/actions/groupunblock.php b/actions/groupunblock.php index c14ec04adc..6f26108155 100644 --- a/actions/groupunblock.php +++ b/actions/groupunblock.php @@ -72,7 +72,7 @@ class GroupunblockAction extends Action $this->clientError(_('No profile specified.')); return false; } - $this->profile = Profile::staticGet('id', $id); + $this->profile = Profile::getKV('id', $id); if (empty($this->profile)) { // TRANS: Client error displayed when trying to unblock a user from a group without providing an existing profile. $this->clientError(_('No profile with that ID.')); @@ -84,7 +84,7 @@ class GroupunblockAction extends Action $this->clientError(_('No group specified.')); return false; } - $this->group = User_group::staticGet('id', $group_id); + $this->group = User_group::getKV('id', $group_id); if (empty($this->group)) { // TRANS: Client error displayed when trying to unblock a user from a non-existing group. $this->clientError(_('No such group.'));