summaryrefslogtreecommitdiff
path: root/plugins/Gravatar
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/Gravatar
parent954335fa5e18b003e20cd43e71fb690181095101 (diff)
Add version information to a bunch of plugins
Diffstat (limited to 'plugins/Gravatar')
-rw-r--r--plugins/Gravatar/GravatarPlugin.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/Gravatar/GravatarPlugin.php b/plugins/Gravatar/GravatarPlugin.php
index 3c61a682e..580852072 100644
--- a/plugins/Gravatar/GravatarPlugin.php
+++ b/plugins/Gravatar/GravatarPlugin.php
@@ -185,4 +185,16 @@ class GravatarPlugin extends Plugin
"&size=".$size;
return $url;
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'Gravatar',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Eric Helgeson',
+ 'homepage' => 'http://status.net/wiki/Plugin:Gravatar',
+ 'rawdescription' =>
+ _m('The Gravatar plugin allows users to use their <a href="http://www.gravatar.com/">Gravatar</a> with StatusNet.'));
+
+ return true;
+ }
}