summaryrefslogtreecommitdiff
path: root/actions/publicxrds.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:21:29 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:21:29 -0500
commiteb2f9c98ac115ce67e9a740b200c832153ffa05c (patch)
tree562e524f12420a97fc66a5c9db0ccd6a1f9aea09 /actions/publicxrds.php
parentedbc0c665cc65875b4d14b79939233b1c9c06bb6 (diff)
replace NULL with null
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
Diffstat (limited to 'actions/publicxrds.php')
-rw-r--r--actions/publicxrds.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/actions/publicxrds.php b/actions/publicxrds.php
index ffd65c8c9..5e3349185 100644
--- a/actions/publicxrds.php
+++ b/actions/publicxrds.php
@@ -42,7 +42,7 @@ class PublicxrdsAction extends Action {
'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
'version' => '2.0'));
- common_element('Type', NULL, 'xri://$xrds*simple');
+ common_element('Type', null, 'xri://$xrds*simple');
foreach (array('finishopenidlogin', 'finishaddopenid', 'finishimmediate') as $finish) {
$this->show_service(Auth_OpenID_RP_RETURN_TO_URL_TYPE,
@@ -55,24 +55,24 @@ class PublicxrdsAction extends Action {
common_end_xml();
}
- function show_service($type, $uri, $params=NULL, $sigs=NULL, $localId=NULL) {
+ function show_service($type, $uri, $params=null, $sigs=null, $localId=null) {
common_element_start('Service');
if ($uri) {
- common_element('URI', NULL, $uri);
+ common_element('URI', null, $uri);
}
- common_element('Type', NULL, $type);
+ common_element('Type', null, $type);
if ($params) {
foreach ($params as $param) {
- common_element('Type', NULL, $param);
+ common_element('Type', null, $param);
}
}
if ($sigs) {
foreach ($sigs as $sig) {
- common_element('Type', NULL, $sig);
+ common_element('Type', null, $sig);
}
}
if ($localId) {
- common_element('LocalID', NULL, $localId);
+ common_element('LocalID', null, $localId);
}
common_element_end('Service');
}