summaryrefslogtreecommitdiff
path: root/plugins/APCPlugin.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-01-09 18:58:40 -0500
committerCraig Andrews <candrews@integralblue.com>2010-01-09 19:04:53 -0500
commitc758b1b1d40d5534e0fc63818bc7d9cf8350de96 (patch)
treee28a03c80d0d1be029f9a6563fb36be476953e4e /plugins/APCPlugin.php
parent954335fa5e18b003e20cd43e71fb690181095101 (diff)
Add version information to a bunch of plugins
Diffstat (limited to 'plugins/APCPlugin.php')
-rw-r--r--plugins/APCPlugin.php11
1 files changed, 11 insertions, 0 deletions
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 <a href="http://pecl.php.net/package/apc">APC</a> variable cache to cache query results.'));
+ return true;
+ }
}