]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Don't use bogus event in emailregistration
authorEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 23:33:12 +0000 (19:33 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 23:33:12 +0000 (19:33 -0400)
commit997b0933ea7f5da8fafe61c0954a88b2a05c6703
tree3a0f169ea56c0dbfe0082b21d6d10dab40a482b0
parent1619578818b2ca6826a3efb2eb467fd9ee59b6c5
Don't use bogus event in emailregistration

I was trying to be smart by calling the same registration event as 'register'
when doing EmailRegistration. However, that event is so low-bandwidth that plugins
go fingerpoken in all the attributes and call methods on the passed-in action and
things like that.

So, now we just fall back to using the low-level stuff, catch any
exceptions, and feel happy. Some stuff might not work, but it's
generally anti-spam stuff more suited to public sites.
plugins/Blacklist/BlacklistPlugin.php
plugins/EmailRegistration/emailregister.php
plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php