mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
f5e24e3512
commit
86f59268c8
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user