diff options
author | Evan Prodromou <evan@status.net> | 2010-01-07 17:39:15 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-07 17:39:15 -0800 |
commit | 1c824a52ecd980f55c0b6da1d0d4c02305d2cb84 (patch) | |
tree | 8b9612040cd044b51854e990808156cd60fa34ac /plugins | |
parent | 42834944e07926ab1d42c3fb5c498e1f7da85407 (diff) |
Add version info to the CacheLog plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CacheLogPlugin.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/CacheLogPlugin.php b/plugins/CacheLogPlugin.php index f1e5dd83a..4c47de80e 100644 --- a/plugins/CacheLogPlugin.php +++ b/plugins/CacheLogPlugin.php @@ -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; + } } |