]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add version information to MemcachePlugin
authorEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:49:39 +0000 (17:49 -0800)
committerEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:49:39 +0000 (17:49 -0800)
plugins/MemcachePlugin.php

index 998766313f78dba150b86fb2ac3d6494b01547c8..b714fb25f3b6b50c2fd83c55737245706bccf200 100644 (file)
@@ -171,5 +171,16 @@ class MemcachePlugin extends Plugin
                                                $this->compressMinSaving);
         }
     }
+
+    function onPluginVersion(&$versions)
+    {
+        $versions[] = array('name' => 'Memcache',
+                            'version' => STATUSNET_VERSION,
+                            'author' => 'Evan Prodromou, Craig Andrews',
+                            'homepage' => 'http://status.net/wiki/Plugin:Memcache',
+                            'rawdescription' =>
+                            _m('Use <a href="http://memcached.org/">Memcached</a> to cache query results.'));
+        return true;
+    }
 }