summaryrefslogtreecommitdiff
path: root/actions/twitapidirect_messages.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/twitapidirect_messages.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/twitapidirect_messages.php')
-rw-r--r--actions/twitapidirect_messages.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/actions/twitapidirect_messages.php b/actions/twitapidirect_messages.php
index 2e3b50173..7adb4eadd 100644
--- a/actions/twitapidirect_messages.php
+++ b/actions/twitapidirect_messages.php
@@ -228,12 +228,12 @@ class Twitapidirect_messagesAction extends TwitterapiAction {
$this->init_document('rss');
common_element_start('channel');
- common_element('title', NULL, $title);
+ common_element('title', null, $title);
- common_element('link', NULL, $link);
- common_element('description', NULL, $subtitle);
- common_element('language', NULL, 'en-us');
- common_element('ttl', NULL, '40');
+ common_element('link', null, $link);
+ common_element('description', null, $subtitle);
+ common_element('language', null, 'en-us');
+ common_element('ttl', null, '40');
if (is_array($message)) {
foreach ($message as $m) {
@@ -256,12 +256,12 @@ class Twitapidirect_messagesAction extends TwitterapiAction {
$this->init_document('atom');
- common_element('title', NULL, $title);
+ common_element('title', null, $title);
$siteserver = common_config('site', 'server');
- common_element('id', NULL, "tag:$siteserver,2008:DirectMessage");
- common_element('link', array('href' => $link, 'rel' => 'alternate', 'type' => 'text/html'), NULL);
- common_element('updated', NULL, common_date_iso8601(strftime('%c')));
- common_element('subtitle', NULL, $subtitle);
+ common_element('id', null, "tag:$siteserver,2008:DirectMessage");
+ common_element('link', array('href' => $link, 'rel' => 'alternate', 'type' => 'text/html'), null);
+ common_element('updated', null, common_date_iso8601(strftime('%c')));
+ common_element('subtitle', null, $subtitle);
if (is_array($message)) {
foreach ($message as $m) {