]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/tag.php
Preparing File for dynamic thumbnail generation.
[quix0rs-gnu-social.git] / actions / tag.php
index e0cb9783d1e38b3a98adeb1a760f87e6b5a2c290..21cae9aba5127e43a83209fc52da13432f384d7b 100644 (file)
@@ -34,13 +34,10 @@ class TagAction extends Action
 
         if (!$this->tag) {
             common_redirect(common_local_url('publictagcloud'), 301);
-            return false;
         }
 
         if ($this->tag != $taginput) {
-            common_redirect(common_local_url('tag', array('tag' => $this->tag)),
-                            301);
-            return false;
+            common_redirect(common_local_url('tag', array('tag' => $this->tag)), 301);
         }
 
         $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;