From: Siebrand Mazeland Date: Mon, 20 Sep 2010 17:59:13 +0000 (+0200) Subject: Add onPluginVersion() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=96794672012bcbfa9a2e5613f8d176846ec7d1b3;p=quix0rs-gnu-social.git Add onPluginVersion() --- diff --git a/plugins/DiskCache/DiskCachePlugin.php b/plugins/DiskCache/DiskCachePlugin.php index b709ea3b31..47d4b153cf 100644 --- a/plugins/DiskCache/DiskCachePlugin.php +++ b/plugins/DiskCache/DiskCachePlugin.php @@ -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; + } +}