From c758b1b1d40d5534e0fc63818bc7d9cf8350de96 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Sat, 9 Jan 2010 18:58:40 -0500 Subject: Add version information to a bunch of plugins --- plugins/APCPlugin.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'plugins/APCPlugin.php') diff --git a/plugins/APCPlugin.php b/plugins/APCPlugin.php index 18409e29e..666f64b14 100644 --- a/plugins/APCPlugin.php +++ b/plugins/APCPlugin.php @@ -104,5 +104,16 @@ class APCPlugin extends Plugin Event::handle('EndCacheDelete', array($key)); return false; } + + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'APC', + 'version' => STATUSNET_VERSION, + 'author' => 'Evan Prodromou', + 'homepage' => 'http://status.net/wiki/Plugin:APC', + 'rawdescription' => + _m('Use the APC variable cache to cache query results.')); + return true; + } } -- cgit v1.2.3-54-g00ecf