X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Funsubscribepeopletag.php;h=5e144ab886a0cf975156cf70ebaaab88ea13567e;hb=2a4dc77a633cc78907934fd93200ac16d55be78e;hp=bb53766cc1d6bafcb96ec2d99d028cd573f7b9ad;hpb=e95f77d34c501d345e731ccf6bc722034d155b77;p=quix0rs-gnu-social.git diff --git a/actions/unsubscribepeopletag.php b/actions/unsubscribepeopletag.php index bb53766cc1..5e144ab886 100644 --- a/actions/unsubscribepeopletag.php +++ b/actions/unsubscribepeopletag.php @@ -84,7 +84,7 @@ class UnsubscribepeopletagAction extends Action $id = intval($this->arg('id')); if ($id) { - $this->peopletag = Profile_list::staticGet('id', $id); + $this->peopletag = Profile_list::getKV('id', $id); } else { // TRANS: Client error displayed when trying to perform an action without providing an ID. $this->clientError(_('No ID given.'), 404); @@ -97,7 +97,7 @@ class UnsubscribepeopletagAction extends Action return false; } - $this->tagger = Profile::staticGet('id', $this->peopletag->tagger); + $this->tagger = Profile::getKV('id', $this->peopletag->tagger); return true; }