]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/subscribepeopletag.php
Making many of the API actions more consistent with coding style
[quix0rs-gnu-social.git] / actions / subscribepeopletag.php
index dee0384c5d04040004887ab948ec5d1067e7667d..1bb14420ff66b8186ce824fc7c8dc297d0736778 100644 (file)
@@ -83,7 +83,7 @@ class SubscribepeopletagAction 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);
@@ -96,7 +96,7 @@ class SubscribepeopletagAction extends Action
             return false;
         }
 
-        $this->tagger = Profile::staticGet('id', $this->peopletag->tagger);
+        $this->tagger = Profile::getKV('id', $this->peopletag->tagger);
 
         return true;
     }
@@ -140,7 +140,7 @@ class SubscribepeopletagAction extends Action
             $lf = new UnsubscribePeopletagForm($this, $this->peopletag);
             $lf->show();
             $this->elementEnd('body');
-            $this->elementEnd('html');
+            $this->endHTML();
         } else {
             common_redirect(common_local_url('peopletagsubscribers',
                                 array('tagger' => $this->tagger->nickname,