add version information to MemcachePlugin

This commit is contained in:
Evan Prodromou 2010-01-07 17:49:39 -08:00
parent 6395ac71b8
commit ca3b2d614a
1 changed files with 11 additions and 0 deletions

View File

@ -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;
}
}