From: Evan Prodromou Date: Fri, 8 Jan 2010 01:39:15 +0000 (-0800) Subject: Add version info to the CacheLog plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c824a52ecd980f55c0b6da1d0d4c02305d2cb84;p=quix0rs-gnu-social.git Add version info to the CacheLog plugin --- diff --git a/plugins/CacheLogPlugin.php b/plugins/CacheLogPlugin.php index f1e5dd83aa..4c47de80eb 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; + } }