You are here

function _xrds_strip_namespace in Drupal 6

2 calls to _xrds_strip_namespace()
_xrds_element_end in modules/openid/xrds.inc
_xrds_element_start in modules/openid/xrds.inc
Parser callback functions

File

modules/openid/xrds.inc, line 89

Code

function _xrds_strip_namespace($name) {

  // Strip namespacing.
  $pos = strrpos($name, ':');
  if ($pos !== FALSE) {
    $name = substr($name, $pos + 1, strlen($name));
  }
  return $name;
}