diff options
author | Zach Copley <zach@status.net> | 2010-01-08 00:09:23 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-08 00:09:23 -0800 |
commit | 20af83d316d8a89c3c9a34d17c252425433fc54f (patch) | |
tree | b0d70a0a09456f315e08b887daef973cebdde65c /plugins/Facebook | |
parent | 11b19788f560c45e7a865bbd56bf1e90bdfb9a0b (diff) |
Add version info for Facebook, TwitterBridge and RSSCloud plugins
Diffstat (limited to 'plugins/Facebook')
-rw-r--r-- | plugins/Facebook/FacebookPlugin.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/Facebook/FacebookPlugin.php b/plugins/Facebook/FacebookPlugin.php index 39b2ef287..de91bf24a 100644 --- a/plugins/Facebook/FacebookPlugin.php +++ b/plugins/Facebook/FacebookPlugin.php @@ -32,6 +32,7 @@ if (!defined('STATUSNET')) { } define("FACEBOOK_CONNECT_SERVICE", 3); +define('FACEBOOKPLUGIN_VERSION', '0.9'); require_once INSTALLDIR . '/plugins/Facebook/facebookutil.php'; @@ -554,4 +555,18 @@ class FacebookPlugin extends Plugin return true; } + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'Facebook', + 'version' => FACEBOOKPLUGIN_VERSION, + 'author' => 'Zach Copley', + 'homepage' => 'http://status.net/wiki/Plugin:Facebook', + 'rawdescription' => + _m('The Facebook plugin allows you to integrate ' . + 'your StatusNet instance with ' . + '<a href="http://facebook.com/">Facebook</a> ' . + 'and Facebook Connect.')); + return true; + } + } |