diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-01-10 14:06:15 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-01-10 14:06:15 +1300 |
commit | 26b03240271d061177a258dbae46bc384dbc9d6a (patch) | |
tree | cedb5e37ed018c3482be18fb2428c9161b8f41a7 /plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php | |
parent | 42896ac1fbe1b952bb7949c069b2c8c5647c1185 (diff) | |
parent | 40847ea1b5a527af9de88eb02e38922e5704999b (diff) |
Merge commit 'mainline/0.9.x' into 0.9.x
Diffstat (limited to 'plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php')
-rw-r--r-- | plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php | 11 |
1 files changed, 11 insertions, 0 deletions
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; + } } |