summaryrefslogtreecommitdiff
path: root/plugins/MemcachePlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-07 17:49:39 -0800
committerEvan Prodromou <evan@status.net>2010-01-07 17:49:39 -0800
commitca3b2d614a0f7340ee5e83687be1951020c5aafa (patch)
tree4580d4f83d62e088c36781fa79ca7b3885244167 /plugins/MemcachePlugin.php
parent6395ac71b8b359098801d914dfc930affda1984b (diff)
add version information to MemcachePlugin
Diffstat (limited to 'plugins/MemcachePlugin.php')
-rw-r--r--plugins/MemcachePlugin.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/MemcachePlugin.php b/plugins/MemcachePlugin.php
index 998766313..b714fb25f 100644
--- a/plugins/MemcachePlugin.php
+++ b/plugins/MemcachePlugin.php
@@ -171,5 +171,16 @@ class MemcachePlugin extends Plugin
$this->compressMinSaving);
}
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'Memcache',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Evan Prodromou, Craig Andrews',
+ 'homepage' => 'http://status.net/wiki/Plugin:Memcache',
+ 'rawdescription' =>
+ _m('Use <a href="http://memcached.org/">Memcached</a> to cache query results.'));
+ return true;
+ }
}