summaryrefslogtreecommitdiff
path: root/maintenance/minify.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/minify.php')
-rw-r--r--maintenance/minify.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/maintenance/minify.php b/maintenance/minify.php
index ec936c83..efecaad0 100644
--- a/maintenance/minify.php
+++ b/maintenance/minify.php
@@ -49,7 +49,6 @@ class MinifyScript extends Maintenance {
$this->mDescription = "Minify a file or set of files.\n\n" .
"If --outfile is not specified, then the output file names will have a .min extension\n" .
"added, e.g. jquery.js -> jquery.min.js.";
-
}
public function execute() {
@@ -66,6 +65,7 @@ class MinifyScript extends Maintenance {
// Minify one file
$this->minify( $this->getArg( 0 ), $this->getOption( 'outfile' ) );
+
return;
}
@@ -103,6 +103,7 @@ class MinifyScript extends Maintenance {
$this->error( "No file extension, cannot determine type: $fileName" );
exit( 1 );
}
+
return substr( $fileName, $dotPos + 1 );
}