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:
@@ -25,7 +25,7 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
|
||||
|
||||
class RepliesrssAction extends Rss10Action {
|
||||
|
||||
var $user = NULL;
|
||||
var $user = null;
|
||||
|
||||
function init() {
|
||||
$nickname = $this->trimmed('nickname');
|
||||
@@ -71,9 +71,9 @@ class RepliesrssAction 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user