]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add onPluginVersion()
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 20 Sep 2010 17:59:13 +0000 (19:59 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 20 Sep 2010 17:59:13 +0000 (19:59 +0200)
plugins/DiskCache/DiskCachePlugin.php

index b709ea3b31417ce5367d35724162aae0bf18c983..47d4b153cf6dff5335293516cea21a2e9d852cf5 100644 (file)
@@ -164,5 +164,15 @@ class DiskCachePlugin extends Plugin
         Event::handle('EndCacheDelete', array($key));
         return false;
     }
-}
 
+    function onPluginVersion(&$versions)
+    {
+        $versions[] = array('name' => 'DiskCache',
+                            'version' => STATUSNET_VERSION,
+                            'author' => 'Evan Prodromou',
+                            'homepage' => 'http://status.net/wiki/Plugin:DiskCache',
+                            'rawdescription' =>
+                            _m('Plugin to implement cache interface with disk files.'));
+        return true;
+    }
+}