diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-20 19:59:13 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-20 19:59:13 +0200 |
commit | 96794672012bcbfa9a2e5613f8d176846ec7d1b3 (patch) | |
tree | b0f47eb6d4ae482e7f69a8db90bfa49e7707712c /plugins | |
parent | dfa164069d2dd69c49d1d7eb4182bfffd86329d4 (diff) |
Add onPluginVersion()
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/DiskCache/DiskCachePlugin.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/DiskCache/DiskCachePlugin.php b/plugins/DiskCache/DiskCachePlugin.php index b709ea3b3..47d4b153c 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; + } +} |