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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user