X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FCacheLogPlugin.php;h=4c47de80eb904157eb3f785f90b572427d775062;hb=a1b25b46bc4bf3dbe7766e865e0a47056786bf0c;hp=f1e5dd83aa2c7931fb8c4e1aa14bb6a90d3eb14c;hpb=928b5f8f2be554c37b0a435e76e88e92260e667b;p=quix0rs-gnu-social.git 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; + } }