diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-12-23 14:21:29 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-12-23 14:21:29 -0500 |
commit | eb2f9c98ac115ce67e9a740b200c832153ffa05c (patch) | |
tree | 562e524f12420a97fc66a5c9db0ccd6a1f9aea09 /actions/deleteprofile.php | |
parent | edbc0c665cc65875b4d14b79939233b1c9c06bb6 (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/deleteprofile.php')
-rw-r--r-- | actions/deleteprofile.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/deleteprofile.php b/actions/deleteprofile.php index 29797bc76..503b3666d 100644 --- a/actions/deleteprofile.php +++ b/actions/deleteprofile.php @@ -36,9 +36,9 @@ class DeleteprofileAction extends Action { return _('Export and delete your user information.'); } - function form_header($title, $msg=NULL, $success=false) { + function form_header($title, $msg=null, $success=false) { common_show_header($title, - NULL, + null, array($msg, $success), array($this, 'show_top')); } @@ -84,9 +84,9 @@ class DeleteprofileAction extends Action { common_element_end('li'); } - function show_form($msg=NULL, $success=false) { + function show_form($msg=null, $success=false) { $this->form_header(_('Delete my account'), $msg, $success); - common_element('h2', NULL, _('Delete my account confirmation')); + common_element('h2', null, _('Delete my account confirmation')); $this->show_confirm_delete_form(); common_show_footer(); } @@ -213,7 +213,7 @@ class DeleteprofileAction extends Action { $n_users_deleted = $user->delete(); // logout and redirect to public - common_set_user(NULL); + common_set_user(null); common_real_login(false); # not logged in common_forgetme(); # don't log back in! common_redirect(common_local_url('public')); |