summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-01-05 00:13:44 +0000
committertailor <cygnus@janrain.com>2007-01-05 00:13:44 +0000
commit9c0c26fc8380c208c0bb1db16f110492d4c34a73 (patch)
treec5089946509bbe42571a6494f7317eb903e7c5eb
parent869223bb00a871f7a1114558bce1edfa839afb21 (diff)
downloadphp-openid-9c0c26fc8380c208c0bb1db16f110492d4c34a73.zip
php-openid-9c0c26fc8380c208c0bb1db16f110492d4c34a73.tar.gz
php-openid-9c0c26fc8380c208c0bb1db16f110492d4c34a73.tar.bz2
[project @ Remove unnecessary XML parser code from toFormMarkup]
-rw-r--r--Auth/OpenID/Message.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/Auth/OpenID/Message.php b/Auth/OpenID/Message.php
index 655ca53..e485c28 100644
--- a/Auth/OpenID/Message.php
+++ b/Auth/OpenID/Message.php
@@ -513,13 +513,6 @@ class Auth_OpenID_Message {
function toFormMarkup($action_url, $form_tag_attrs = null,
$submit_text = "Continue")
{
- $xml =& Services_Yadis_getXMLParser();
-
- if ($xml === null) {
- // raise RuntimeError('This function requires ElementTree.')
- return null;
- }
-
$form = "<form accept-charset=\"UTF-8\" ".
"enctype=\"application/x-www-form-urlencoded\"";