]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/profiletagbyid.php
make it possible to erase fields in the profile via the api
[quix0rs-gnu-social.git] / actions / profiletagbyid.php
index f20f1bde4fc62cbcbcd6349dbc9e48e4bd0499a1..ce7298a2f6b7038829c872533aff2026d2d700dd 100644 (file)
@@ -55,7 +55,6 @@ class ProfiletagbyidAction extends Action
         if (!$id) {
             // TRANS: Client error displayed trying to perform an action without providing an ID.
             $this->clientError(_('No ID.'));
-            return false;
         }
 
         common_debug("Peopletag id $id by user id $tagger_id");
@@ -65,7 +64,6 @@ class ProfiletagbyidAction extends Action
         if (!$this->peopletag) {
             // TRANS: Client error displayed trying to reference a non-existing list.
             $this->clientError(_('No such list.'), 404);
-            return false;
         }
 
         $user = User::getKV('id', $tagger_id);