]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add version info to the CacheLog plugin
authorEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:39:15 +0000 (17:39 -0800)
committerEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:39:15 +0000 (17:39 -0800)
plugins/CacheLogPlugin.php

index f1e5dd83aa2c7931fb8c4e1aa14bb6a90d3eb14c..4c47de80eb904157eb3f785f90b572427d775062 100644 (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;
+    }
 }