summaryrefslogtreecommitdiff
path: root/classes/Channel.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 /classes/Channel.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 'classes/Channel.php')
-rw-r--r--classes/Channel.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/Channel.php b/classes/Channel.php
index 384fe8bb1..ea3530406 100644
--- a/classes/Channel.php
+++ b/classes/Channel.php
@@ -38,13 +38,13 @@ class Channel {
}
function source() {
- return NULL;
+ return null;
}
}
class XMPPChannel extends Channel {
- var $conn = NULL;
+ var $conn = null;
function source() {
return 'xmpp';
@@ -111,7 +111,7 @@ class WebChannel extends Channel {
# XXX: even better, redirect to appropriate page
# depending on what command was run
common_show_header(_('Command results'));
- common_element('p', NULL, $text);
+ common_element('p', null, $text);
common_show_footer();
}
@@ -149,13 +149,13 @@ class AjaxWebChannel extends WebChannel {
class MailChannel extends Channel {
- var $addr = NULL;
+ var $addr = null;
function source() {
return 'mail';
}
- function __construct($addr=NULL) {
+ function __construct($addr=null) {
$this->addr = $addr;
}