@@ -55,6 +55,7 @@ |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Try very hard to get a locale for this user. Helps for i18n etc. |
| 58 | + * @param string $language |
|
| 58 | 59 | * @return string |
| 59 | 60 | */ |
| 60 | 61 | public static function get_smart_locale($language = null) { |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Deny password resets |
| 12 | 12 | * |
| 13 | 13 | * @param Member $member |
| 14 | - * @return boolean |
|
| 14 | + * @return null|false |
|
| 15 | 15 | */ |
| 16 | 16 | public function forgotPassword($member) { |
| 17 | 17 | if(Config::inst()->get('OpauthMemberLoginFormExtension', 'allow_password_reset')) { |
@@ -388,6 +388,9 @@ |
||
| 388 | 388 | return unserialize(base64_decode($this->request->{$method.'Var'}('opauth'))); |
| 389 | 389 | } |
| 390 | 390 | |
| 391 | + /** |
|
| 392 | + * @param string $action |
|
| 393 | + */ |
|
| 391 | 394 | public function Link($action = null) { |
| 392 | 395 | return Controller::join_links( |
| 393 | 396 | self::config()->opauth_path, |