function _openid_xri_normalize

7.x openid.inc _openid_xri_normalize($identifier)

OpenID normalization method: normalize XRI identifiers.

1 string reference to '_openid_xri_normalize'

File

drupal-7.x/modules/openid/openid.inc, line 297
OpenID utility functions.

Code

function _openid_xri_normalize($identifier) {
  if (_openid_is_xri($identifier)) {
    if (stristr($identifier, 'xri://') !== FALSE) {
      $identifier = substr($identifier, 6);
    }
    return $identifier;
  }
}