]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Minify/actions/minify.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / plugins / Minify / actions / minify.php
index b7bee7c8815e572b6a4fa301a7b608fe951383df..d7ec5d1392003cd0499584e169648e91424c836e 100644 (file)
@@ -48,12 +48,10 @@ class MinifyAction extends Action
             } else {
                 // TRANS: Client error displayed when not providing a valid path in parameter "f".
                 $this->clientError(_m('The parameter "f" is not a valid path.'),404);
-                return false;
             }
         }else{
             // TRANS: Client error displayed when not providing parameter "f".
             $this->clientError(_m('The parameter "f" is required but missing.'),500);
-            return false;
         }
     }
 
@@ -112,7 +110,6 @@ class MinifyAction extends Action
             default:
                 // TRANS: Client error displayed when trying to minify an unsupported file type.
                 $this->clientError(_m('File type not supported.'),500);
-                return false;
         }
         return $out;
     }