summaryrefslogtreecommitdiff
path: root/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php
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/RequireValidatedEmail/RequireValidatedEmailPlugin.php
parent954335fa5e18b003e20cd43e71fb690181095101 (diff)
Add version information to a bunch of plugins
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;
+ }
}