mlanthaler: Refactored the created code since the coding conventions for static methods were changed (ticket #49).

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42027 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 01:57:21 +00:00
parent f5e24e3512
commit 86f59268c8

View File

@ -55,7 +55,7 @@ class OpenIDAuthenticator extends Authenticator {
* @return bool Returns TRUE on success, FALSE otherwise. * @return bool Returns TRUE on success, FALSE otherwise.
*/ */
protected static function on_register() { protected static function on_register() {
Member::addRole('OpenIDAuthenticatedRole'); Member::add_role('OpenIDAuthenticatedRole');
return parent::on_register(); return parent::on_register();
} }