From: Evan Prodromou Date: Fri, 8 Jan 2010 01:49:39 +0000 (-0800) Subject: add version information to MemcachePlugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ca3b2d614a0f7340ee5e83687be1951020c5aafa;p=quix0rs-gnu-social.git add version information to MemcachePlugin --- diff --git a/plugins/MemcachePlugin.php b/plugins/MemcachePlugin.php index 998766313f..b714fb25f3 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 Memcached to cache query results.')); + return true; + } }