forked from GNUsocial/gnu-social
Add version info to the CacheLog plugin
This commit is contained in:
parent
42834944e0
commit
1c824a52ec
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user