diff options
author | friendica <info@friendica.com> | 2015-03-12 20:51:36 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-12 20:51:36 -0700 |
commit | c412e6e640af11a51ff569fe86fcc381291683b9 (patch) | |
tree | 4d71205c6a0caad1da135856369fc2ac8746dcc2 /mod | |
parent | 93caead072e3b5f1623fe0c61206e57da7ca20b3 (diff) | |
download | volse-hubzilla-c412e6e640af11a51ff569fe86fcc381291683b9.tar.gz volse-hubzilla-c412e6e640af11a51ff569fe86fcc381291683b9.tar.bz2 volse-hubzilla-c412e6e640af11a51ff569fe86fcc381291683b9.zip |
revert that
Diffstat (limited to 'mod')
-rw-r--r-- | mod/id.php | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/mod/id.php b/mod/id.php index d2776830d..378022717 100644 --- a/mod/id.php +++ b/mod/id.php @@ -177,7 +177,31 @@ class MysqlProvider extends LightOpenIDProvider // This list contains a few variations of these attributes to maintain // compatibility with legacy clients - private $attrMap; + private $attrMap = array( + 'namePerson/first' => 'First Name', + 'namePerson/last' => 'Last Name', + 'namePerson/friendly' => 'Nickname', + 'namePerson' => 'Full Name', + 'contact/internet/email' => 'Email', + 'contact/email' => 'Email', + 'media/image/aspect11' => 'Profile Photo', + 'media/image' => 'Profile Photo', + 'media/image/default' => 'Profile Photo', + 'media/image/16x16' => 'Profile Photo 16px', + 'media/image/32x32' => 'Profile Photo 32px', + 'media/image/48x48' => 'Profile Photo 48px', + 'media/image/64x64' => 'Profile Photo 64px', + 'media/image/80x80' => 'Profile Photo 80px', + 'media/image/128x128' => 'Profile Photo 128px', + 'timezone' => 'Timezone', + 'contact/web/default' => 'Homepage URL', + 'language/pref' => 'Language', + 'birthDate/birthYear' => 'Birth Year', + 'birthDate/birthMonth' => 'Birth Month', + 'birthDate/birthday' => 'Birth Day', + 'birthDate' => 'Birthdate', + 'gender' => 'Gender', + ); private $attrFieldMap = array( 'namePerson/first' => 'firstName', @@ -205,9 +229,6 @@ class MysqlProvider extends LightOpenIDProvider 'gender' => 'gender', ); - function __construct() { - $this->attrMap = translate_regs(); - } function setup($identity, $realm, $assoc_handle, $attributes) { |