add version information to MemcachePlugin

This commit is contained in:
Evan Prodromou 2010-01-07 17:49:39 -08:00
parent 6395ac71b8
commit ca3b2d614a

View File

@ -171,5 +171,16 @@ class MemcachePlugin extends Plugin
$this->compressMinSaving); $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;
}
} }