summaryrefslogtreecommitdiff
path: root/actions/allrss.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/allrss.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/allrss.php')
-rw-r--r--actions/allrss.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/allrss.php b/actions/allrss.php
index d28fcea49..851cd0ad5 100644
--- a/actions/allrss.php
+++ b/actions/allrss.php
@@ -25,7 +25,7 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
class AllrssAction extends Rss10Action {
- var $user = NULL;
+ var $user = null;
function init() {
$nickname = $this->trimmed('nickname');
@@ -69,9 +69,9 @@ class AllrssAction extends Rss10Action {
$user = $this->user;
$profile = $user->getProfile();
if (!$profile) {
- return NULL;
+ return null;
}
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
- return ($avatar) ? $avatar->url : NULL;
+ return ($avatar) ? $avatar->url : null;
}
} \ No newline at end of file