summaryrefslogtreecommitdiff
path: root/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-01-10 01:46:39 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-01-10 01:46:39 +0100
commit0c4dbf158812da899ffe7969e0f2287bfc15ec5e (patch)
treed7bb7fc9ff0793b39cb8fec018f53c4c11434630 /plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php
parentb0aea3f9c1cf9a6402bcb2751ac767445103a70b (diff)
parenta07d8dab256d7841c3695267bdfe7540a0ced4d7 (diff)
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php')
-rw-r--r--plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php11
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;
+ }
}