summaryrefslogtreecommitdiff
path: root/plugins/Minify/MinifyPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Minify/MinifyPlugin.php')
-rw-r--r--plugins/Minify/MinifyPlugin.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Minify/MinifyPlugin.php b/plugins/Minify/MinifyPlugin.php
index 718bfd163..b49b6a4ba 100644
--- a/plugins/Minify/MinifyPlugin.php
+++ b/plugins/Minify/MinifyPlugin.php
@@ -164,5 +164,16 @@ class MinifyPlugin extends Plugin
require_once('Minify/CSS.php');
return Minify_CSS::minify($code,$options);
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'Minify',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Craig Andrews',
+ 'homepage' => 'http://status.net/wiki/Plugin:Minify',
+ 'rawdescription' =>
+ _m('The Minify plugin minifies your CSS and Javascript, removing whitespace and comments.'));
+ return true;
+ }
}