summaryrefslogtreecommitdiff
path: root/actions/twittersettings.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/twittersettings.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/twittersettings.php')
-rw-r--r--actions/twittersettings.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/twittersettings.php b/actions/twittersettings.php
index e300e699a..8cbd39fbd 100644
--- a/actions/twittersettings.php
+++ b/actions/twittersettings.php
@@ -30,10 +30,10 @@ class TwittersettingsAction extends SettingsAction {
'and subscribe to Twitter friends already here.');
}
- function show_form($msg=NULL, $success=false) {
+ function show_form($msg=null, $success=false) {
$user = common_current_user();
$profile = $user->getProfile();
- $fuser = NULL;
+ $fuser = null;
$flink = Foreign_link::getByUserID($user->id, 1); // 1 == Twitter
if ($flink) {
@@ -47,7 +47,7 @@ class TwittersettingsAction extends SettingsAction {
common_local_url('twittersettings')));
common_hidden('token', common_session_token());
- common_element('h2', NULL, _('Twitter Account'));
+ common_element('h2', null, _('Twitter Account'));
if ($fuser) {
common_element_start('p');
@@ -67,7 +67,7 @@ class TwittersettingsAction extends SettingsAction {
common_password('twitter_password', _('Twitter password'));
}
- common_element('h2', NULL, _('Preferences'));
+ common_element('h2', null, _('Preferences'));
common_checkbox('noticesync', _('Automatically send my notices to Twitter.'),
($flink) ? ($flink->noticesync & FOREIGN_NOTICE_SEND) : true);
@@ -126,7 +126,7 @@ class TwittersettingsAction extends SettingsAction {
if ($friends_count > 0) {
- common_element('h3', NULL, _('Twitter Friends'));
+ common_element('h3', null, _('Twitter Friends'));
common_element_start('div', array('id' => 'subscriptions'));
common_element_start('ul', array('id' => 'subscriptions_avatars'));