summaryrefslogtreecommitdiff
path: root/plugins/FirePHP
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/FirePHP
parent954335fa5e18b003e20cd43e71fb690181095101 (diff)
Add version information to a bunch of plugins
Diffstat (limited to 'plugins/FirePHP')
-rw-r--r--plugins/FirePHP/FirePHPPlugin.php11
-rw-r--r--plugins/FirePHP/README2
2 files changed, 12 insertions, 1 deletions
diff --git a/plugins/FirePHP/FirePHPPlugin.php b/plugins/FirePHP/FirePHPPlugin.php
index 37b397796..452f79024 100644
--- a/plugins/FirePHP/FirePHPPlugin.php
+++ b/plugins/FirePHP/FirePHPPlugin.php
@@ -55,5 +55,16 @@ class FirePHPPlugin extends Plugin
$priority = $firephp_priorities[$priority];
$this->firephp->fb($msg, $priority);
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'FirePHP',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Craig Andrews',
+ 'homepage' => 'http://status.net/wiki/Plugin:FirePHP',
+ 'rawdescription' =>
+ _m('The FirePHP plugin writes StatusNet\'s log output to FirePHP.'));
+ return true;
+ }
}
diff --git a/plugins/FirePHP/README b/plugins/FirePHP/README
index ee22794d5..22ed1e9be 100644
--- a/plugins/FirePHP/README
+++ b/plugins/FirePHP/README
@@ -1,4 +1,4 @@
-The FirePHP writes StatusNet's log output to FirePHP.
+The FirePHP plugin writes StatusNet's log output to FirePHP.
Using FirePHP on production sites can expose sensitive information.
You must protect the security of your application by disabling FirePHP