diff options
author | Evan Prodromou <evan@status.net> | 2009-10-28 17:24:53 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-28 17:24:53 -0400 |
commit | b73d6d18bae0e9046f65eb394c8e593de33f92a4 (patch) | |
tree | 981eb242aa4494b8c31604a59cac39116cb4ada4 /plugins/OpenID/OpenIDPlugin.php | |
parent | 3c724ccd0df0d205a9567e435b6060300537f904 (diff) | |
parent | 10df75f9a074f2987b3525cd70a129bd26972ebb (diff) |
Merge branch '0.9.x' into location
Diffstat (limited to 'plugins/OpenID/OpenIDPlugin.php')
-rw-r--r-- | plugins/OpenID/OpenIDPlugin.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php index a933a1155..560da71e7 100644 --- a/plugins/OpenID/OpenIDPlugin.php +++ b/plugins/OpenID/OpenIDPlugin.php @@ -150,11 +150,15 @@ class OpenIDPlugin extends Plugin * @return void */ - function onEndHeadChildren($action) + function onEndShowHeadElements($action) { - // for client side of OpenID authentication - $action->element('meta', array('http-equiv' => 'X-XRDS-Location', - 'content' => common_local_url('publicxrds'))); + if ($action->trimmed('action') == 'public') { + // for client side of OpenID authentication + $action->element('meta', array('http-equiv' => 'X-XRDS-Location', + 'content' => common_local_url('publicxrds'))); + } + + return true; } /** |