Add version info to the CacheLog plugin

This commit is contained in:
Evan Prodromou 2010-01-07 17:39:15 -08:00
parent 42834944e0
commit 1c824a52ec
1 changed files with 11 additions and 0 deletions

View File

@ -106,5 +106,16 @@ class CacheLogPlugin extends Plugin
$this->log(LOG_INFO, "Done deleting cache value for key '$key'");
return true;
}
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'CacheLog',
'version' => STATUSNET_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:CacheLog',
'description' =>
_m('Log reads and writes to the cache'));
return true;
}
}