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/RequireValidatedEmail/RequireValidatedEmailPlugin.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'plugins/RequireValidatedEmail') diff --git a/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php b/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php index 04adbf00e..3581f1de9 100644 --- a/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php +++ b/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php @@ -96,5 +96,16 @@ class RequireValidatedEmailPlugin extends Plugin } return false; } + + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'Require Validated Email', + 'version' => STATUSNET_VERSION, + 'author' => 'Craig Andrews, Evan Prodromou, Brion Vibber', + 'homepage' => 'http://status.net/wiki/Plugin:RequireValidatedEmail', + 'rawdescription' => + _m('The Require Validated Email plugin disables posting for accounts that do not have a validated email address.')); + return true; + } } -- cgit v1.2.3-54-g00ecf