eb2f9c98ac
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
1339 lines
60 KiB
Plaintext
1339 lines
60 KiB
Plaintext
hunk ./actions/allrss.php 28
|
|
- var $user = NULL;
|
|
+ var $user = null;
|
|
hunk ./actions/allrss.php 72
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/allrss.php 75
|
|
- return ($avatar) ? $avatar->url : NULL;
|
|
+ return ($avatar) ? $avatar->url : null;
|
|
hunk ./actions/api.php 155
|
|
- common_element('error', NULL, $msg);
|
|
- common_element('request', NULL, $_SERVER['REQUEST_URI']);
|
|
+ common_element('error', null, $msg);
|
|
+ common_element('request', null, $_SERVER['REQUEST_URI']);
|
|
hunk ./actions/block.php 24
|
|
- var $profile = NULL;
|
|
+ var $profile = null;
|
|
hunk ./actions/block.php 80
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/confirmaddress.php 91
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/deletenotice.php 44
|
|
- function show_form($error=NULL) {
|
|
+ function show_form($error=null) {
|
|
hunk ./actions/deletenotice.php 94
|
|
- common_set_returnto(NULL);
|
|
+ common_set_returnto(null);
|
|
hunk ./actions/deleteprofile.php 39
|
|
- function form_header($title, $msg=NULL, $success=false) {
|
|
+ function form_header($title, $msg=null, $success=false) {
|
|
hunk ./actions/deleteprofile.php 41
|
|
- NULL,
|
|
+ null,
|
|
hunk ./actions/deleteprofile.php 87
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/deleteprofile.php 89
|
|
- common_element('h2', NULL, _('Delete my account confirmation'));
|
|
+ common_element('h2', null, _('Delete my account confirmation'));
|
|
hunk ./actions/deleteprofile.php 216
|
|
- common_set_user(NULL);
|
|
+ common_set_user(null);
|
|
hunk ./actions/emailsettings.php 30
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/emailsettings.php 39
|
|
- common_element('h2', NULL, _('Address'));
|
|
+ common_element('h2', null, _('Address'));
|
|
hunk ./actions/emailsettings.php 61
|
|
- ($this->arg('email')) ? $this->arg('email') : NULL,
|
|
+ ($this->arg('email')) ? $this->arg('email') : null,
|
|
hunk ./actions/emailsettings.php 68
|
|
- common_element('h2', NULL, _('Incoming email'));
|
|
+ common_element('h2', null, _('Incoming email'));
|
|
hunk ./actions/emailsettings.php 86
|
|
- common_element('h2', NULL, _('Preferences'));
|
|
+ common_element('h2', null, _('Preferences'));
|
|
hunk ./actions/emailsettings.php 121
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/emailsettings.php 276
|
|
- $user->email = NULL;
|
|
+ $user->email = null;
|
|
hunk ./actions/emailsettings.php 297
|
|
- $user->incomingemail = NULL;
|
|
+ $user->incomingemail = null;
|
|
hunk ./actions/favorited.php 32
|
|
- array($this, 'show_header'), NULL,
|
|
+ array($this, 'show_header'), null,
|
|
hunk ./actions/favoritesrss.php 28
|
|
- var $user = NULL;
|
|
+ var $user = null;
|
|
hunk ./actions/favoritesrss.php 71
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/featured.php 33
|
|
- array($this, 'show_header'), NULL,
|
|
+ array($this, 'show_header'), null,
|
|
hunk ./actions/finishaddopenid.php 100
|
|
- common_element('p', NULL, $msg);
|
|
+ common_element('p', null, $msg);
|
|
hunk ./actions/finishopenidlogin.php 55
|
|
- function show_top($error=NULL) {
|
|
+ function show_top($error=null) {
|
|
hunk ./actions/finishopenidlogin.php 65
|
|
- function show_form($error=NULL, $username=NULL) {
|
|
- common_show_header(_('OpenID Account Setup'), NULL, $error,
|
|
+ function show_form($error=null, $username=null) {
|
|
+ common_show_header(_('OpenID Account Setup'), null, $error,
|
|
hunk ./actions/finishopenidlogin.php 73
|
|
- common_element('h2', NULL,
|
|
+ common_element('h2', null,
|
|
hunk ./actions/finishopenidlogin.php 75
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/finishopenidlogin.php 91
|
|
- common_element('h2', NULL,
|
|
+ common_element('h2', null,
|
|
hunk ./actions/finishopenidlogin.php 93
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/finishopenidlogin.php 144
|
|
- $this->show_form(NULL, $this->best_new_nickname($display, $sreg));
|
|
+ $this->show_form(null, $this->best_new_nickname($display, $sreg));
|
|
hunk ./actions/finishopenidlogin.php 151
|
|
- common_element('p', NULL, $msg);
|
|
+ common_element('p', null, $msg);
|
|
hunk ./actions/finishopenidlogin.php 293
|
|
- common_set_returnto(NULL);
|
|
+ common_set_returnto(null);
|
|
hunk ./actions/finishopenidlogin.php 332
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/finishopenidlogin.php 372
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/finishopenidlogin.php 406
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/finishopenidlogin.php 413
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/finishremotesubscribe.php 281
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/foaf.php 69
|
|
- common_element('mbox_sha1sum', NULL, sha1('mailto:' . $user->email));
|
|
+ common_element('mbox_sha1sum', null, sha1('mailto:' . $user->email));
|
|
hunk ./actions/foaf.php 71
|
|
- common_element('name', NULL, $profile->fullname);
|
|
+ common_element('name', null, $profile->fullname);
|
|
hunk ./actions/foaf.php 77
|
|
- common_element('rdfs:comment', NULL, $profile->bio);
|
|
+ common_element('rdfs:comment', null, $profile->bio);
|
|
hunk ./actions/foaf.php 83
|
|
- common_element('name', NULL, $profile->location);
|
|
+ common_element('name', null, $profile->location);
|
|
hunk ./actions/foaf.php 159
|
|
- $foaf_url = NULL;
|
|
+ $foaf_url = null;
|
|
hunk ./actions/foaf.php 169
|
|
- common_root_url() : NULL);
|
|
+ common_root_url() : null);
|
|
hunk ./actions/foaf.php 189
|
|
- function show_microblogging_account($profile, $service=NULL) {
|
|
+ function show_microblogging_account($profile, $service=null) {
|
|
hunk ./actions/foaf.php 197
|
|
- common_element('accountName', NULL, $profile->nickname);
|
|
+ common_element('accountName', null, $profile->nickname);
|
|
hunk ./actions/imsettings.php 31
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/imsettings.php 40
|
|
- common_element('h2', NULL, _('Address'));
|
|
+ common_element('h2', null, _('Address'));
|
|
hunk ./actions/imsettings.php 62
|
|
- ($this->arg('jabber')) ? $this->arg('jabber') : NULL,
|
|
+ ($this->arg('jabber')) ? $this->arg('jabber') : null,
|
|
hunk ./actions/imsettings.php 68
|
|
- common_element('h2', NULL, _('Preferences'));
|
|
+ common_element('h2', null, _('Preferences'));
|
|
hunk ./actions/imsettings.php 96
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/imsettings.php 247
|
|
- $user->jabber = NULL;
|
|
+ $user->jabber = null;
|
|
hunk ./actions/invite.php 88
|
|
- common_element('p', NULL, _('You are already subscribed to these users:'));
|
|
+ common_element('p', null, _('You are already subscribed to these users:'));
|
|
hunk ./actions/invite.php 91
|
|
- common_element('li', NULL, sprintf(_('%s (%s)'), $other->nickname, $other->email));
|
|
+ common_element('li', null, sprintf(_('%s (%s)'), $other->nickname, $other->email));
|
|
hunk ./actions/invite.php 96
|
|
- common_element('p', NULL, _('These people are already users and you were automatically subscribed to them:'));
|
|
+ common_element('p', null, _('These people are already users and you were automatically subscribed to them:'));
|
|
hunk ./actions/invite.php 99
|
|
- common_element('li', NULL, sprintf(_('%s (%s)'), $other->nickname, $other->email));
|
|
+ common_element('li', null, sprintf(_('%s (%s)'), $other->nickname, $other->email));
|
|
hunk ./actions/invite.php 104
|
|
- common_element('p', NULL, _('Invitation(s) sent to the following people:'));
|
|
+ common_element('p', null, _('Invitation(s) sent to the following people:'));
|
|
hunk ./actions/invite.php 107
|
|
- common_element('li', NULL, $other);
|
|
+ common_element('li', null, $other);
|
|
hunk ./actions/invite.php 110
|
|
- common_element('p', NULL, _('You will be notified when your invitees accept the invitation and register on the site. Thanks for growing the community!'));
|
|
+ common_element('p', null, _('You will be notified when your invitees accept the invitation and register on the site. Thanks for growing the community!'));
|
|
hunk ./actions/invite.php 115
|
|
- function show_top($error=NULL) {
|
|
+ function show_top($error=null) {
|
|
hunk ./actions/invite.php 120
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/invite.php 126
|
|
- function show_form($error=NULL) {
|
|
+ function show_form($error=null) {
|
|
hunk ./actions/invite.php 130
|
|
- common_show_header(_('Invite new users'), NULL, $error, array($this, 'show_top'));
|
|
+ common_show_header(_('Invite new users'), null, $error, array($this, 'show_top'));
|
|
hunk ./actions/login.php 66
|
|
- common_set_returnto(NULL);
|
|
+ common_set_returnto(null);
|
|
hunk ./actions/login.php 94
|
|
- common_set_returnto(NULL);
|
|
+ common_set_returnto(null);
|
|
hunk ./actions/login.php 103
|
|
- function show_form($error=NULL) {
|
|
- common_show_header(_('Login'), NULL, $error, array($this, 'show_top'));
|
|
+ function show_form($error=null) {
|
|
+ common_show_header(_('Login'), null, $error, array($this, 'show_top'));
|
|
hunk ./actions/login.php 141
|
|
- function show_top($error=NULL) {
|
|
+ function show_top($error=null) {
|
|
hunk ./actions/logout.php 35
|
|
- common_set_user(NULL);
|
|
+ common_set_user(null);
|
|
hunk ./actions/newmessage.php 101
|
|
- function show_form($msg=NULL) {
|
|
+ function show_form($msg=null) {
|
|
hunk ./actions/newmessage.php 120
|
|
- common_show_header(_('New message'), NULL,
|
|
+ common_show_header(_('New message'), null,
|
|
hunk ./actions/newnotice.php 81
|
|
- $notice = Notice::saveNew($user->id, $content, 'web', 1, ($replyto == 'false') ? NULL : $replyto);
|
|
+ $notice = Notice::saveNew($user->id, $content, 'web', 1, ($replyto == 'false') ? null : $replyto);
|
|
hunk ./actions/newnotice.php 124
|
|
- function show_top($content=NULL) {
|
|
- common_notice_form(NULL, $content);
|
|
+ function show_top($content=null) {
|
|
+ common_notice_form(null, $content);
|
|
hunk ./actions/newnotice.php 128
|
|
- function show_form($msg=NULL) {
|
|
+ function show_form($msg=null) {
|
|
hunk ./actions/newnotice.php 141
|
|
- common_show_header(_('New notice'), NULL, $content,
|
|
+ common_show_header(_('New notice'), null, $content,
|
|
hunk ./actions/noticesearchrss.php 68
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/openidlogin.php 55
|
|
- $this->show_form(NULL, $openid_url);
|
|
+ $this->show_form(null, $openid_url);
|
|
hunk ./actions/openidlogin.php 63
|
|
- function show_top($error=NULL) {
|
|
+ function show_top($error=null) {
|
|
hunk ./actions/openidlogin.php 75
|
|
- function show_form($error=NULL, $openid_url) {
|
|
- common_show_header(_('OpenID Login'), NULL, $error, array($this, 'show_top'));
|
|
+ function show_form($error=null, $openid_url) {
|
|
+ common_show_header(_('OpenID Login'), null, $error, array($this, 'show_top'));
|
|
hunk ./actions/openidsettings.php 33
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/openidsettings.php 44
|
|
- common_element('h2', NULL, _('Add OpenID'));
|
|
- common_element('p', NULL,
|
|
+ common_element('h2', null, _('Add OpenID'));
|
|
+ common_element('p', null,
|
|
hunk ./actions/openidsettings.php 69
|
|
- common_element('h2', NULL, _('Remove OpenID'));
|
|
+ common_element('h2', null, _('Remove OpenID'));
|
|
hunk ./actions/openidsettings.php 73
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/openidsettings.php 86
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/opensearch.php 45
|
|
- common_element('ShortName', NULL, $short_name);
|
|
- common_element('Contact', NULL, common_config('site', 'email'));
|
|
+ common_element('ShortName', null, $short_name);
|
|
+ common_element('Contact', null, common_config('site', 'email'));
|
|
hunk ./actions/opensearch.php 51
|
|
- common_element('AdultContent', NULL, 'false');
|
|
- common_element('Language', NULL, common_language());
|
|
- common_element('OutputEncoding', NULL, 'UTF-8');
|
|
- common_element('InputEncoding', NULL, 'UTF-8');
|
|
+ common_element('AdultContent', null, 'false');
|
|
+ common_element('Language', null, common_language());
|
|
+ common_element('OutputEncoding', null, 'UTF-8');
|
|
+ common_element('InputEncoding', null, 'UTF-8');
|
|
hunk ./actions/othersettings.php 30
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/othersettings.php 35
|
|
- common_element('h2', NULL, _('URL Auto-shortening'));
|
|
+ common_element('h2', null, _('URL Auto-shortening'));
|
|
hunk ./actions/othersettings.php 60
|
|
-// common_element('h2', NULL, _('Delete my account'));
|
|
+// common_element('h2', null, _('Delete my account'));
|
|
hunk ./actions/peoplesearch.php 71
|
|
- var $terms = NULL;
|
|
- var $pattern = NULL;
|
|
+ var $terms = null;
|
|
+ var $pattern = null;
|
|
hunk ./actions/peopletag.php 46
|
|
- NULL, $tag, array($this, 'show_top'));
|
|
+ null, $tag, array($this, 'show_top'));
|
|
hunk ./actions/peopletag.php 97
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/profilesettings.php 31
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/profilesettings.php 34
|
|
- common_element('h2', NULL, _('Avatar'));
|
|
+ common_element('h2', null, _('Avatar'));
|
|
hunk ./actions/profilesettings.php 36
|
|
- common_element('h2', NULL, _('Change password'));
|
|
+ common_element('h2', null, _('Change password'));
|
|
hunk ./actions/profilesettings.php 38
|
|
-// common_element('h2', NULL, _('Delete my account'));
|
|
+// common_element('h2', null, _('Delete my account'));
|
|
hunk ./actions/public.php 34
|
|
- array($this, 'show_header'), NULL,
|
|
+ array($this, 'show_header'), null,
|
|
hunk ./actions/publicrss.php 55
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/publicxrds.php 45
|
|
- common_element('Type', NULL, 'xri://$xrds*simple');
|
|
+ common_element('Type', null, 'xri://$xrds*simple');
|
|
hunk ./actions/publicxrds.php 58
|
|
- function show_service($type, $uri, $params=NULL, $sigs=NULL, $localId=NULL) {
|
|
+ function show_service($type, $uri, $params=null, $sigs=null, $localId=null) {
|
|
hunk ./actions/publicxrds.php 61
|
|
- common_element('URI', NULL, $uri);
|
|
+ common_element('URI', null, $uri);
|
|
hunk ./actions/publicxrds.php 63
|
|
- common_element('Type', NULL, $type);
|
|
+ common_element('Type', null, $type);
|
|
hunk ./actions/publicxrds.php 66
|
|
- common_element('Type', NULL, $param);
|
|
+ common_element('Type', null, $param);
|
|
hunk ./actions/publicxrds.php 71
|
|
- common_element('Type', NULL, $sig);
|
|
+ common_element('Type', null, $sig);
|
|
hunk ./actions/publicxrds.php 75
|
|
- common_element('LocalID', NULL, $localId);
|
|
+ common_element('LocalID', null, $localId);
|
|
hunk ./actions/recoverpassword.php 135
|
|
- function show_top($msg=NULL) {
|
|
+ function show_top($msg=null) {
|
|
hunk ./actions/recoverpassword.php 140
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/recoverpassword.php 149
|
|
- function show_password_top($msg=NULL) {
|
|
+ function show_password_top($msg=null) {
|
|
hunk ./actions/recoverpassword.php 159
|
|
- function show_form($msg=NULL) {
|
|
+ function show_form($msg=null) {
|
|
hunk ./actions/recoverpassword.php 161
|
|
- common_show_header(_('Recover password'), NULL,
|
|
+ common_show_header(_('Recover password'), null,
|
|
hunk ./actions/recoverpassword.php 176
|
|
- function show_password_form($msg=NULL) {
|
|
+ function show_password_form($msg=null) {
|
|
hunk ./actions/recoverpassword.php 178
|
|
- common_show_header(_('Reset password'), NULL,
|
|
+ common_show_header(_('Reset password'), null,
|
|
hunk ./actions/recoverpassword.php 227
|
|
- $confirm_email = NULL;
|
|
+ $confirm_email = null;
|
|
hunk ./actions/recoverpassword.php 270
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/recoverpassword.php 327
|
|
- common_element('p', NULL, _('New password successfully saved. ' .
|
|
+ common_element('p', null, _('New password successfully saved. ' .
|
|
hunk ./actions/register.php 152
|
|
- function show_top($error=NULL) {
|
|
+ function show_top($error=null) {
|
|
hunk ./actions/register.php 167
|
|
- function show_form($error=NULL) {
|
|
+ function show_form($error=null) {
|
|
hunk ./actions/register.php 181
|
|
- common_show_header(_('Register'), NULL, $error, array($this, 'show_top'));
|
|
+ common_show_header(_('Register'), null, $error, array($this, 'show_top'));
|
|
hunk ./actions/remotesubscribe.php 58
|
|
- function show_top($err=NULL) {
|
|
+ function show_top($err=null) {
|
|
hunk ./actions/remotesubscribe.php 70
|
|
- function show_form($err=NULL) {
|
|
+ function show_form($err=null) {
|
|
hunk ./actions/remotesubscribe.php 73
|
|
- common_show_header(_('Remote subscribe'), NULL, $err,
|
|
+ common_show_header(_('Remote subscribe'), null, $err,
|
|
hunk ./actions/remotesubscribe.php 156
|
|
- $user = NULL;
|
|
+ $user = null;
|
|
hunk ./actions/remotesubscribe.php 176
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 184
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 188
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 194
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 202
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 206
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 213
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 218
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 228
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 242
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 270
|
|
- $req = OAuthRequest::from_consumer_and_token($con, NULL, "POST", $url, $params);
|
|
+ $req = OAuthRequest::from_consumer_and_token($con, null, "POST", $url, $params);
|
|
hunk ./actions/remotesubscribe.php 275
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/remotesubscribe.php 283
|
|
- $req->sign_request(omb_hmac_sha1(), $con, NULL);
|
|
+ $req->sign_request(omb_hmac_sha1(), $con, null);
|
|
hunk ./actions/remotesubscribe.php 294
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/repliesrss.php 28
|
|
- var $user = NULL;
|
|
+ var $user = null;
|
|
hunk ./actions/repliesrss.php 74
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/repliesrss.php 77
|
|
- return ($avatar) ? $avatar->url : NULL;
|
|
+ return ($avatar) ? $avatar->url : null;
|
|
hunk ./actions/showmessage.php 56
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/showmessage.php 88
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/shownotice.php 26
|
|
- var $notice = NULL;
|
|
- var $profile = NULL;
|
|
- var $avatar = NULL;
|
|
+ var $notice = null;
|
|
+ var $profile = null;
|
|
+ var $avatar = null;
|
|
hunk ./actions/shownotice.php 76
|
|
- array($this, 'show_header'), NULL,
|
|
+ array($this, 'show_header'), null,
|
|
hunk ./actions/showstream.php 288
|
|
- common_element('h2', NULL, _('Subscriptions'));
|
|
+ common_element('h2', null, _('Subscriptions'));
|
|
hunk ./actions/showstream.php 418
|
|
- common_element('h2', NULL, _('Currently'));
|
|
+ common_element('h2', null, _('Currently'));
|
|
hunk ./actions/smssettings.php 31
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/smssettings.php 39
|
|
- common_element('h2', NULL, _('Address'));
|
|
+ common_element('h2', null, _('Address'));
|
|
hunk ./actions/smssettings.php 63
|
|
- common_input('code', _('Confirmation code'), NULL,
|
|
+ common_input('code', _('Confirmation code'), null,
|
|
hunk ./actions/smssettings.php 68
|
|
- ($this->arg('sms')) ? $this->arg('sms') : NULL,
|
|
+ ($this->arg('sms')) ? $this->arg('sms') : null,
|
|
hunk ./actions/smssettings.php 76
|
|
- common_element('h2', NULL, _('Incoming email'));
|
|
+ common_element('h2', null, _('Incoming email'));
|
|
hunk ./actions/smssettings.php 94
|
|
- common_element('h2', NULL, _('Preferences'));
|
|
+ common_element('h2', null, _('Preferences'));
|
|
hunk ./actions/smssettings.php 114
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/smssettings.php 271
|
|
- $user->sms = NULL;
|
|
- $user->carrier = NULL;
|
|
- $user->smsemail = NULL;
|
|
+ $user->sms = null;
|
|
+ $user->carrier = null;
|
|
+ $user->smsemail = null;
|
|
hunk ./actions/subedit.php 24
|
|
- var $profile = NULL;
|
|
+ var $profile = null;
|
|
hunk ./actions/tagother.php 52
|
|
- function show_form($profile, $error=NULL) {
|
|
+ function show_form($profile, $error=null) {
|
|
hunk ./actions/tagother.php 57
|
|
- NULL, array($profile, $error), array($this, 'show_top'));
|
|
+ null, array($profile, $error), array($this, 'show_top'));
|
|
hunk ./actions/tagother.php 181
|
|
- function show_top($arr = NULL) {
|
|
+ function show_top($arr = null) {
|
|
hunk ./actions/tagother.php 187
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/tagrss.php 44
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/twitapidirect_messages.php 231
|
|
- common_element('title', NULL, $title);
|
|
+ common_element('title', null, $title);
|
|
hunk ./actions/twitapidirect_messages.php 233
|
|
- 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');
|
|
hunk ./actions/twitapidirect_messages.php 259
|
|
- common_element('title', NULL, $title);
|
|
+ common_element('title', null, $title);
|
|
hunk ./actions/twitapidirect_messages.php 261
|
|
- 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);
|
|
hunk ./actions/twitapifriendships.php 141
|
|
- common_element('friends', NULL, $result);
|
|
+ common_element('friends', null, $result);
|
|
hunk ./actions/twitapihelp.php 35
|
|
- common_element('ok', NULL, 'true');
|
|
+ common_element('ok', null, 'true');
|
|
hunk ./actions/twitapistatuses.php 115
|
|
- $user = $this->get_user(NULL, $apidata);
|
|
+ $user = $this->get_user(null, $apidata);
|
|
hunk ./actions/twitapistatuses.php 203
|
|
- $suplink = common_local_url('sup', NULL, $user->id);
|
|
+ $suplink = common_local_url('sup', null, $user->id);
|
|
hunk ./actions/twitapistatuses.php 294
|
|
- $reply_to = NULL;
|
|
+ $reply_to = null;
|
|
hunk ./actions/twittersettings.php 33
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./actions/twittersettings.php 36
|
|
- $fuser = NULL;
|
|
+ $fuser = null;
|
|
hunk ./actions/twittersettings.php 50
|
|
- common_element('h2', NULL, _('Twitter Account'));
|
|
+ common_element('h2', null, _('Twitter Account'));
|
|
hunk ./actions/twittersettings.php 70
|
|
- common_element('h2', NULL, _('Preferences'));
|
|
+ common_element('h2', null, _('Preferences'));
|
|
hunk ./actions/twittersettings.php 129
|
|
- common_element('h3', NULL, _('Twitter Friends'));
|
|
+ common_element('h3', null, _('Twitter Friends'));
|
|
hunk ./actions/unblock.php 24
|
|
- var $profile = NULL;
|
|
+ var $profile = null;
|
|
hunk ./actions/userauthorization.php 84
|
|
- common_element('p', NULL, _('Please check these details to make sure '.
|
|
+ common_element('p', null, _('Please check these details to make sure '.
|
|
hunk ./actions/userauthorization.php 323
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/userauthorization.php 333
|
|
- common_element('p', NULL,
|
|
+ common_element('p', null,
|
|
hunk ./actions/userbyid.php 41
|
|
- $httpaccept = isset($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : NULL;
|
|
+ $httpaccept = isset($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : null;
|
|
hunk ./actions/userrss.php 28
|
|
- var $user = NULL;
|
|
+ var $user = null;
|
|
hunk ./actions/userrss.php 47
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/userrss.php 77
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./actions/userrss.php 80
|
|
- return ($avatar) ? $avatar->url : NULL;
|
|
+ return ($avatar) ? $avatar->url : null;
|
|
hunk ./actions/userrss.php 86
|
|
- $url = common_local_url('sup', NULL, $this->user->id);
|
|
+ $url = common_local_url('sup', null, $this->user->id);
|
|
hunk ./actions/xrds.php 53
|
|
- common_element('Type', NULL, 'xri://$xrds*simple');
|
|
+ common_element('Type', null, 'xri://$xrds*simple');
|
|
hunk ./actions/xrds.php 72
|
|
- NULL,
|
|
+ null,
|
|
hunk ./actions/xrds.php 85
|
|
- common_element('Type', NULL, 'xri://$xrds*simple');
|
|
+ common_element('Type', null, 'xri://$xrds*simple');
|
|
hunk ./actions/xrds.php 98
|
|
- common_element('Type', NULL, 'xri://$xrds*simple');
|
|
+ common_element('Type', null, 'xri://$xrds*simple');
|
|
hunk ./actions/xrds.php 111
|
|
- function show_service($type, $uri, $params=NULL, $sigs=NULL, $localId=NULL) {
|
|
+ function show_service($type, $uri, $params=null, $sigs=null, $localId=null) {
|
|
hunk ./actions/xrds.php 114
|
|
- common_element('URI', NULL, $uri);
|
|
+ common_element('URI', null, $uri);
|
|
hunk ./actions/xrds.php 116
|
|
- common_element('Type', NULL, $type);
|
|
+ common_element('Type', null, $type);
|
|
hunk ./actions/xrds.php 119
|
|
- common_element('Type', NULL, $param);
|
|
+ common_element('Type', null, $param);
|
|
hunk ./actions/xrds.php 124
|
|
- common_element('Type', NULL, $sig);
|
|
+ common_element('Type', null, $sig);
|
|
hunk ./actions/xrds.php 128
|
|
- common_element('LocalID', NULL, $localId);
|
|
+ common_element('LocalID', null, $localId);
|
|
hunk ./classes/Avatar.php 24
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Avatar',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Avatar',$k,$v); }
|
|
hunk ./classes/Avatar.php 75
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Avatar.php 88
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Channel.php 41
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Channel.php 47
|
|
- var $conn = NULL;
|
|
+ var $conn = null;
|
|
hunk ./classes/Channel.php 114
|
|
- common_element('p', NULL, $text);
|
|
+ common_element('p', null, $text);
|
|
hunk ./classes/Channel.php 152
|
|
- var $addr = NULL;
|
|
+ var $addr = null;
|
|
hunk ./classes/Channel.php 158
|
|
- function __construct($addr=NULL) {
|
|
+ function __construct($addr=null) {
|
|
hunk ./classes/Command.php 26
|
|
- var $user = NULL;
|
|
+ var $user = null;
|
|
hunk ./classes/Command.php 28
|
|
- function __construct($user=NULL) {
|
|
+ function __construct($user=null) {
|
|
hunk ./classes/Command.php 50
|
|
- var $word = NULL;
|
|
+ var $word = null;
|
|
hunk ./classes/Command.php 58
|
|
- var $word = NULL;
|
|
+ var $word = null;
|
|
hunk ./classes/Command.php 66
|
|
- var $other = NULL;
|
|
+ var $other = null;
|
|
hunk ./classes/Command.php 74
|
|
- var $other = NULL;
|
|
+ var $other = null;
|
|
hunk ./classes/Command.php 107
|
|
- var $other = NULL;
|
|
+ var $other = null;
|
|
hunk ./classes/Command.php 151
|
|
- var $other = NULL;
|
|
+ var $other = null;
|
|
hunk ./classes/Command.php 185
|
|
- var $other = NULL;
|
|
- var $text = NULL;
|
|
+ var $other = null;
|
|
+ var $text = null;
|
|
hunk ./classes/Command.php 228
|
|
- var $other = NULL;
|
|
+ var $other = null;
|
|
hunk ./classes/Command.php 258
|
|
- var $other = NULL;
|
|
+ var $other = null;
|
|
hunk ./classes/Command.php 284
|
|
- var $other = NULL;
|
|
+ var $other = null;
|
|
hunk ./classes/Command.php 308
|
|
- var $other = NULL;
|
|
- function __construct($user, $other=NULL) {
|
|
+ var $other = null;
|
|
+ function __construct($user, $other=null) {
|
|
hunk ./classes/Command.php 327
|
|
- var $other = NULL;
|
|
- function __construct($user, $other=NULL) {
|
|
+ var $other = null;
|
|
+ function __construct($user, $other=null) {
|
|
hunk ./classes/CommandInterpreter.php 40
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 47
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 58
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 68
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 75
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 79
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 86
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 90
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 97
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 101
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 107
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 111
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 117
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 121
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 127
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 131
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 137
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 141
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 147
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 152
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 156
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 162
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 166
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 174
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 178
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/CommandInterpreter.php 187
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Confirm_address.php 23
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Confirm_address',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Confirm_address',$k,$v); }
|
|
hunk ./classes/Consumer.php 19
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Consumer',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Consumer',$k,$v); }
|
|
hunk ./classes/Fave.php 18
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Fave',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Fave',$k,$v); }
|
|
hunk ./classes/Foreign_link.php 24
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Foreign_link',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Foreign_link',$k,$v); }
|
|
hunk ./classes/Foreign_link.php 41
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Foreign_link.php 54
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Foreign_link.php 69
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Foreign_service.php 20
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Foreign_service',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Foreign_service',$k,$v); }
|
|
hunk ./classes/Foreign_subscription.php 19
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Foreign_subscription',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Foreign_subscription',$k,$v); }
|
|
hunk ./classes/Foreign_user.php 21
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Foreign_user',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Foreign_user',$k,$v); }
|
|
hunk ./classes/Foreign_user.php 39
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Invitation.php 20
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Invitation',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Invitation',$k,$v); }
|
|
hunk ./classes/Memcached_DataObject.php 26
|
|
- function &staticGet($cls, $k, $v=NULL) {
|
|
+ function &staticGet($cls, $k, $v=null) {
|
|
hunk ./classes/Memcached_DataObject.php 59
|
|
- $i = NULL;
|
|
+ $i = null;
|
|
hunk ./classes/Memcached_DataObject.php 70
|
|
- function update($orig=NULL) {
|
|
+ function update($orig=null) {
|
|
hunk ./classes/Message.php 25
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Message',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Message',$k,$v); }
|
|
hunk ./classes/Nonce.php 21
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Nonce',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Nonce',$k,$v); }
|
|
hunk ./classes/Notice.php 51
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Notice',$k,$v); }
|
|
hunk ./classes/Notice.php 94
|
|
- static function saveNew($profile_id, $content, $source=NULL, $is_local=1, $reply_to=NULL, $uri=NULL) {
|
|
+ static function saveNew($profile_id, $content, $source=null, $is_local=1, $reply_to=null, $uri=null) {
|
|
hunk ./classes/Notice.php 296
|
|
- static function getStream($qry, $cachekey, $offset=0, $limit=20, $since_id=0, $before_id=0, $order=NULL, $since=NULL) {
|
|
+ static function getStream($qry, $cachekey, $offset=0, $limit=20, $since_id=0, $before_id=0, $order=null, $since=null) {
|
|
hunk ./classes/Notice.php 386
|
|
- return Notice::getStreamDirect($qry, $offset, $limit, NULL, NULL, $order, NULL);
|
|
+ return Notice::getStreamDirect($qry, $offset, $limit, null, null, $order, null);
|
|
hunk ./classes/Notice.php 394
|
|
- return Notice::getStreamDirect($qry, $offset, $limit, NULL, NULL, $order, NULL);
|
|
+ return Notice::getStreamDirect($qry, $offset, $limit, null, null, $order, null);
|
|
hunk ./classes/Notice.php 426
|
|
- $last_id, NULL, $order, NULL);
|
|
+ $last_id, null, $order, null);
|
|
hunk ./classes/Notice.php 450
|
|
- $notice = Notice::getStreamDirect($qry, 0, NOTICE_CACHE_WINDOW, NULL, NULL, $order, NULL);
|
|
+ $notice = Notice::getStreamDirect($qry, 0, NOTICE_CACHE_WINDOW, null, null, $order, null);
|
|
hunk ./classes/Notice.php 480
|
|
- function publicStream($offset=0, $limit=20, $since_id=0, $before_id=0, $since=NULL) {
|
|
+ function publicStream($offset=0, $limit=20, $since_id=0, $before_id=0, $since=null) {
|
|
hunk ./classes/Notice.php 499
|
|
- $offset, $limit, $since_id, $before_id, NULL, $since);
|
|
+ $offset, $limit, $since_id, $before_id, null, $since);
|
|
hunk ./classes/NoticeWrapper.php 38
|
|
- var $notices = NULL;
|
|
+ var $notices = null;
|
|
hunk ./classes/Notice_inbox.php 36
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice_inbox',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Notice_inbox',$k,$v); }
|
|
hunk ./classes/Notice_source.php 20
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice_source',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Notice_source',$k,$v); }
|
|
hunk ./classes/Notice_tag.php 33
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice_tag',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Notice_tag',$k,$v); }
|
|
hunk ./classes/Profile.php 44
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Profile',$k,$v); }
|
|
hunk ./classes/Profile.php 49
|
|
- function getAvatar($width, $height=NULL) {
|
|
+ function getAvatar($width, $height=null) {
|
|
hunk ./classes/Profile.php 65
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Profile.php 74
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Profile.php 79
|
|
- NULL, common_timestamp());
|
|
+ null, common_timestamp());
|
|
hunk ./classes/Profile.php 99
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Profile.php 104
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Profile.php 112
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Profile.php 135
|
|
- function getCurrentNotice($dt=NULL) {
|
|
+ function getCurrentNotice($dt=null) {
|
|
hunk ./classes/Profile.php 146
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/Profile_block.php 39
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile_block',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Profile_block',$k,$v); }
|
|
hunk ./classes/Profile_tag.php 19
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile_tag',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Profile_tag',$k,$v); }
|
|
hunk ./classes/Queue_item.php 19
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Queue_item',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Queue_item',$k,$v); }
|
|
hunk ./classes/Queue_item.php 31
|
|
- $qi->whereAdd('claimed is NULL');
|
|
+ $qi->whereAdd('claimed is null');
|
|
hunk ./classes/Queue_item.php 39
|
|
- # can we force it to only update if claimed is still NULL
|
|
+ # can we force it to only update if claimed is still null
|
|
hunk ./classes/Queue_item.php 52
|
|
- $qi = NULL;
|
|
- return NULL;
|
|
+ $qi = null;
|
|
+ return null;
|
|
hunk ./classes/Remember_me.php 18
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Remember_me',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Remember_me',$k,$v); }
|
|
hunk ./classes/Remote_profile.php 41
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Remote_profile',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Remote_profile',$k,$v); }
|
|
hunk ./classes/Reply.php 19
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Reply',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Reply',$k,$v); }
|
|
hunk ./classes/Sms_carrier.php 20
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Sms_carrier',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Sms_carrier',$k,$v); }
|
|
hunk ./classes/Subscription.php 43
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Subscription',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Subscription',$k,$v); }
|
|
hunk ./classes/Token.php 22
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Token',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('Token',$k,$v); }
|
|
hunk ./classes/User.php 65
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('User',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('User',$k,$v); }
|
|
hunk ./classes/User.php 121
|
|
- function getCurrentNotice($dt=NULL) {
|
|
+ function getCurrentNotice($dt=null) {
|
|
hunk ./classes/User.php 124
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/User.php 339
|
|
- function getReplies($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=NULL) {
|
|
+ function getReplies($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=null) {
|
|
hunk ./classes/User.php 346
|
|
- $offset, $limit, $since_id, $before_id, NULL, $since);
|
|
+ $offset, $limit, $since_id, $before_id, null, $since);
|
|
hunk ./classes/User.php 349
|
|
- function getNotices($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=NULL) {
|
|
+ function getNotices($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=null) {
|
|
hunk ./classes/User.php 352
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./classes/User.php 368
|
|
- function noticesWithFriends($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=NULL) {
|
|
+ function noticesWithFriends($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=null) {
|
|
hunk ./classes/User.php 380
|
|
- $order = NULL;
|
|
+ $order = null;
|
|
hunk ./classes/User_openid.php 20
|
|
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('User_openid',$k,$v); }
|
|
+ function staticGet($k,$v=null) { return Memcached_DataObject::staticGet('User_openid',$k,$v); }
|
|
hunk ./lib/common.php 61
|
|
- 'logfile' => NULL,
|
|
+ 'logfile' => null,
|
|
hunk ./lib/common.php 67
|
|
- array_key_exists('SERVER_ADMIN', $_SERVER) ? $_SERVER['SERVER_ADMIN'] : NULL,
|
|
- 'broughtby' => NULL,
|
|
+ array_key_exists('SERVER_ADMIN', $_SERVER) ? $_SERVER['SERVER_ADMIN'] : null,
|
|
+ 'broughtby' => null,
|
|
hunk ./lib/common.php 70
|
|
- 'broughtbyurl' => NULL,
|
|
+ 'broughtbyurl' => null,
|
|
hunk ./lib/common.php 85
|
|
- 'params' => NULL),
|
|
+ 'params' => null),
|
|
hunk ./lib/common.php 92
|
|
- array('server' => NULL),
|
|
+ array('server' => null),
|
|
hunk ./lib/common.php 97
|
|
- array('server' => NULL),
|
|
+ array('server' => null),
|
|
hunk ./lib/common.php 110
|
|
- 'host' => NULL, # only set if != server
|
|
+ 'host' => null, # only set if != server
|
|
hunk ./lib/common.php 143
|
|
- 'mirror' => NULL,
|
|
+ 'mirror' => null,
|
|
hunk ./lib/deleteaction.php 46
|
|
- function show_top($arr=NULL) {
|
|
+ function show_top($arr=null) {
|
|
hunk ./lib/deleteaction.php 55
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/facebookaction.php 84
|
|
- $facebook->api_client->profile_setFBML(NULL, $fbuid, $fbml, NULL, NULL, $fbml_main);
|
|
+ $facebook->api_client->profile_setFBML(null, $fbuid, $fbml, null, null, $fbml_main);
|
|
hunk ./lib/facebookaction.php 238
|
|
- function pagination($have_before, $have_after, $page, $fbaction, $args=NULL) {
|
|
+ function pagination($have_before, $have_after, $page, $fbaction, $args=null) {
|
|
hunk ./lib/facebookaction.php 269
|
|
- function pagination_url($fbaction, $args=NULL) {
|
|
+ function pagination_url($fbaction, $args=null) {
|
|
hunk ./lib/oauthstore.php 36
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/oauthstore.php 50
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/oauthstore.php 78
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/oauthstore.php 107
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/oauthstore.php 114
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/oauthstore.php 121
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/oauthstore.php 128
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/oauthstore.php 135
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/omb.php 47
|
|
- static $con = NULL;
|
|
+ static $con = null;
|
|
hunk ./lib/omb.php 64
|
|
- static $store = NULL;
|
|
+ static $store = null;
|
|
hunk ./lib/omb.php 72
|
|
- static $hmac_method = NULL;
|
|
+ static $hmac_method = null;
|
|
hunk ./lib/omb.php 94
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/omb.php 98
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/omb.php 105
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/omb.php 109
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/openid.php 35
|
|
- static $store = NULL;
|
|
+ static $store = null;
|
|
hunk ./lib/openid.php 66
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/openid.php 88
|
|
- $user = NULL;
|
|
+ $user = null;
|
|
hunk ./lib/openid.php 96
|
|
-function oid_check_immediate($openid_url, $backto=NULL) {
|
|
+function oid_check_immediate($openid_url, $backto=null) {
|
|
hunk ./lib/openid.php 180
|
|
- common_show_header(_('OpenID Auto-Submit'), NULL, NULL, '_oid_print_instructions');
|
|
+ common_show_header(_('OpenID Auto-Submit'), null, null, '_oid_print_instructions');
|
|
hunk ./lib/openid.php 182
|
|
- common_element('script', NULL,
|
|
+ common_element('script', null,
|
|
hunk ./lib/personal.php 35
|
|
- $user = NULL;
|
|
+ $user = null;
|
|
hunk ./lib/profilelist.php 27
|
|
- var $profile = NULL;
|
|
- var $owner = NULL;
|
|
- var $action = NULL;
|
|
+ var $profile = null;
|
|
+ var $owner = null;
|
|
+ var $action = null;
|
|
hunk ./lib/profilelist.php 31
|
|
- function __construct($profile, $owner=NULL, $action=NULL) {
|
|
+ function __construct($profile, $owner=null, $action=null) {
|
|
hunk ./lib/queuehandler.php 32
|
|
- function QueueHandler($id=NULL) {
|
|
+ function QueueHandler($id=null) {
|
|
hunk ./lib/queuehandler.php 55
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/queuehandler.php 86
|
|
- $qi->claimed = NULL;
|
|
+ $qi->claimed = null;
|
|
hunk ./lib/queuehandler.php 94
|
|
- $notice = NULL;
|
|
+ $notice = null;
|
|
hunk ./lib/rssaction.php 58
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/rssaction.php 87
|
|
- common_element('title', NULL, $channel['title']);
|
|
- common_element('link', NULL, $channel['link']);
|
|
- common_element('description', NULL, $channel['description']);
|
|
+ common_element('title', null, $channel['title']);
|
|
+ common_element('link', null, $channel['link']);
|
|
+ common_element('description', null, $channel['description']);
|
|
hunk ./lib/rssaction.php 114
|
|
- common_element('title', NULL, $channel['title']);
|
|
- common_element('link', NULL, $channel['link']);
|
|
- common_element('url', NULL, $image);
|
|
+ common_element('title', null, $channel['title']);
|
|
+ common_element('link', null, $channel['link']);
|
|
+ common_element('url', null, $image);
|
|
hunk ./lib/rssaction.php 127
|
|
- common_element('title', NULL, $title);
|
|
- common_element('link', NULL, $nurl);
|
|
- common_element('description', NULL, $profile->nickname."'s status on ".common_exact_date($notice->created));
|
|
- common_element('dc:date', NULL, common_date_w3dtf($notice->created));
|
|
- common_element('dc:creator', NULL, ($profile->fullname) ? $profile->fullname : $profile->nickname);
|
|
+ common_element('title', null, $title);
|
|
+ common_element('link', null, $nurl);
|
|
+ common_element('description', null, $profile->nickname."'s status on ".common_exact_date($notice->created));
|
|
+ common_element('dc:date', null, common_date_w3dtf($notice->created));
|
|
+ common_element('dc:creator', null, ($profile->fullname) ? $profile->fullname : $profile->nickname);
|
|
hunk ./lib/rssaction.php 144
|
|
- common_element('foaf:nick', NULL, $nickname);
|
|
+ common_element('foaf:nick', null, $nickname);
|
|
hunk ./lib/rssaction.php 146
|
|
- common_element('foaf:name', NULL, $profile->fullname);
|
|
+ common_element('foaf:name', null, $profile->fullname);
|
|
hunk ./lib/rssaction.php 148
|
|
- common_element('sioc:id', NULL, $id);
|
|
+ common_element('sioc:id', null, $id);
|
|
hunk ./lib/rssaction.php 178
|
|
- common_element('sioc:name', NULL, common_config('site', 'name'));
|
|
+ common_element('sioc:name', null, common_config('site', 'name'));
|
|
hunk ./lib/searchaction.php 33
|
|
- function show_top($arr=NULL) {
|
|
+ function show_top($arr=null) {
|
|
hunk ./lib/searchaction.php 50
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/searchaction.php 57
|
|
- function show_form($error=NULL) {
|
|
+ function show_form($error=null) {
|
|
hunk ./lib/searchaction.php 102
|
|
- ($action != 'peoplesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL),
|
|
+ ($action != 'peoplesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : null),
|
|
hunk ./lib/searchaction.php 106
|
|
- ($action != 'noticesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL)
|
|
+ ($action != 'noticesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : null)
|
|
hunk ./lib/settingsaction.php 47
|
|
- function show_form($msg=NULL, $success=false) {
|
|
+ function show_form($msg=null, $success=false) {
|
|
hunk ./lib/settingsaction.php 58
|
|
- function form_header($title, $msg=NULL, $success=false) {
|
|
+ function form_header($title, $msg=null, $success=false) {
|
|
hunk ./lib/settingsaction.php 60
|
|
- NULL,
|
|
+ null,
|
|
hunk ./lib/twitter.php 151
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/twitter.php 157
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/twitterapi.php 37
|
|
- $twitter_user['description'] = ($profile->bio) ? $profile->bio : NULL;
|
|
- $twitter_user['location'] = ($profile->location) ? $profile->location : NULL;
|
|
+ $twitter_user['description'] = ($profile->bio) ? $profile->bio : null;
|
|
+ $twitter_user['location'] = ($profile->location) ? $profile->location : null;
|
|
hunk ./lib/twitterapi.php 45
|
|
- $twitter_user['url'] = ($profile->homepage) ? $profile->homepage : NULL;
|
|
+ $twitter_user['url'] = ($profile->homepage) ? $profile->homepage : null;
|
|
hunk ./lib/twitterapi.php 66
|
|
- $twitter_status['in_reply_to_status_id'] = ($notice->reply_to) ? intval($notice->reply_to) : NULL;
|
|
+ $twitter_status['in_reply_to_status_id'] = ($notice->reply_to) ? intval($notice->reply_to) : null;
|
|
hunk ./lib/twitterapi.php 69
|
|
- $twitter_status['in_reply_to_user_id'] = ($notice->reply_to) ? $this->replier_by_reply(intval($notice->reply_to)) : NULL;
|
|
+ $twitter_status['in_reply_to_user_id'] = ($notice->reply_to) ? $this->replier_by_reply(intval($notice->reply_to)) : null;
|
|
hunk ./lib/twitterapi.php 160
|
|
- common_element($element, NULL, common_xml_safe_str($value));
|
|
+ common_element($element, null, common_xml_safe_str($value));
|
|
hunk ./lib/twitterapi.php 163
|
|
- common_element($element, NULL, $value);
|
|
+ common_element($element, null, $value);
|
|
hunk ./lib/twitterapi.php 175
|
|
- common_element($element, NULL, $value);
|
|
+ common_element($element, null, $value);
|
|
hunk ./lib/twitterapi.php 183
|
|
- common_element('title', NULL, $entry['title']);
|
|
- common_element('description', NULL, $entry['description']);
|
|
- common_element('pubDate', NULL, $entry['pubDate']);
|
|
- common_element('guid', NULL, $entry['guid']);
|
|
- common_element('link', NULL, $entry['link']);
|
|
+ common_element('title', null, $entry['title']);
|
|
+ common_element('description', null, $entry['description']);
|
|
+ common_element('pubDate', null, $entry['pubDate']);
|
|
+ common_element('guid', null, $entry['guid']);
|
|
+ common_element('link', null, $entry['link']);
|
|
hunk ./lib/twitterapi.php 193
|
|
- common_element('title', NULL, $entry['title']);
|
|
+ common_element('title', null, $entry['title']);
|
|
hunk ./lib/twitterapi.php 195
|
|
- common_element('id', NULL, $entry['id']);
|
|
- common_element('published', NULL, $entry['published']);
|
|
- common_element('updated', NULL, $entry['updated']);
|
|
- common_element('link', array('href' => $entry['link'], 'rel' => 'alternate', 'type' => 'text/html'), NULL);
|
|
+ common_element('id', null, $entry['id']);
|
|
+ common_element('published', null, $entry['published']);
|
|
+ common_element('updated', null, $entry['updated']);
|
|
+ common_element('link', array('href' => $entry['link'], 'rel' => 'alternate', 'type' => 'text/html'), null);
|
|
hunk ./lib/twitterapi.php 243
|
|
- common_element($element, NULL, common_xml_safe_str($value));
|
|
+ common_element($element, null, common_xml_safe_str($value));
|
|
hunk ./lib/twitterapi.php 246
|
|
- common_element($element, NULL, $value);
|
|
+ common_element($element, null, $value);
|
|
hunk ./lib/twitterapi.php 273
|
|
- function show_rss_timeline($notice, $title, $link, $subtitle, $suplink=NULL) {
|
|
+ function show_rss_timeline($notice, $title, $link, $subtitle, $suplink=null) {
|
|
hunk ./lib/twitterapi.php 278
|
|
- common_element('title', NULL, $title);
|
|
- common_element('link', NULL, $link);
|
|
+ common_element('title', null, $title);
|
|
+ common_element('link', null, $link);
|
|
hunk ./lib/twitterapi.php 287
|
|
- common_element('description', NULL, $subtitle);
|
|
- common_element('language', NULL, 'en-us');
|
|
- common_element('ttl', NULL, '40');
|
|
+ common_element('description', null, $subtitle);
|
|
+ common_element('language', null, 'en-us');
|
|
+ common_element('ttl', null, '40');
|
|
hunk ./lib/twitterapi.php 307
|
|
- function show_atom_timeline($notice, $title, $id, $link, $subtitle=NULL, $suplink=NULL) {
|
|
+ function show_atom_timeline($notice, $title, $id, $link, $subtitle=null, $suplink=null) {
|
|
hunk ./lib/twitterapi.php 311
|
|
- common_element('title', NULL, $title);
|
|
- common_element('id', NULL, $id);
|
|
- common_element('link', array('href' => $link, 'rel' => 'alternate', 'type' => 'text/html'), NULL);
|
|
+ common_element('title', null, $title);
|
|
+ common_element('id', null, $id);
|
|
+ common_element('link', array('href' => $link, 'rel' => 'alternate', 'type' => 'text/html'), null);
|
|
hunk ./lib/twitterapi.php 320
|
|
- common_element('subtitle', NULL, $subtitle);
|
|
+ common_element('subtitle', null, $subtitle);
|
|
hunk ./lib/twitterapi.php 380
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/twitterapi.php 491
|
|
- common_element('error', NULL, $msg);
|
|
- common_element('request', NULL, $_SERVER['REQUEST_URI']);
|
|
+ common_element('error', null, $msg);
|
|
+ common_element('request', null, $_SERVER['REQUEST_URI']);
|
|
hunk ./lib/twitterapi.php 524
|
|
- function show_profile($profile, $content_type='xml', $notice=NULL) {
|
|
+ function show_profile($profile, $content_type='xml', $notice=null) {
|
|
hunk ./lib/twitterapi.php 540
|
|
- function get_user($id, $apidata=NULL) {
|
|
+ function get_user($id, $apidata=null) {
|
|
hunk ./lib/twitterapi.php 559
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./lib/xmppqueuehandler.php 41
|
|
- jabber_send_presence("Send me a message to post a notice", 'available', NULL, 'available', -1);
|
|
+ jabber_send_presence("Send me a message to post a notice", 'available', null, 'available', -1);
|
|
hunk ./lib/xmppqueuehandler.php 48
|
|
- $this->conn->presence(NULL, 'available', NULL, 'available', -1);
|
|
+ $this->conn->presence(null, 'available', null, 'available', -1);
|
|
hunk ./lib/xmppqueuehandler.php 74
|
|
- $this->conn->message($this->listener(), $pl['body'], 'chat', NULL, $this->ofrom($pl['from']));
|
|
+ $this->conn->message($this->listener(), $pl['body'], 'chat', null, $this->ofrom($pl['from']));
|
|
hunk ./scripts/enjitqueuehandler.php 120
|
|
-$id = ($argc > 1) ? $argv[1] : NULL;
|
|
+$id = ($argc > 1) ? $argv[1] : null;
|
|
hunk ./scripts/fixup_inboxes.php 37
|
|
-$start_at = ($argc > 1) ? $argv[1] : NULL;
|
|
+$start_at = ($argc > 1) ? $argv[1] : null;
|
|
hunk ./scripts/fixup_notices_rendered.php 34
|
|
-$start_at = ($argc > 1) ? $argv[1] : NULL;
|
|
+$start_at = ($argc > 1) ? $argv[1] : null;
|
|
hunk ./scripts/jabberqueuehandler.php 38
|
|
- var $conn = NULL;
|
|
+ var $conn = null;
|
|
hunk ./scripts/maildaemon.php 45
|
|
- $this->error(NULL, _('Could not parse message.'));
|
|
+ $this->error(null, _('Could not parse message.'));
|
|
hunk ./scripts/maildaemon.php 77
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/maildaemon.php 143
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/maildaemon.php 170
|
|
- $this->error(NULL, "Unsupported message type: " . $type);
|
|
+ $this->error(null, "Unsupported message type: " . $type);
|
|
hunk ./scripts/ombqueuehandler.php 70
|
|
-$id = ($argc > 1) ? $argv[1] : NULL;
|
|
+$id = ($argc > 1) ? $argv[1] : null;
|
|
hunk ./scripts/smsqueuehandler.php 60
|
|
-$id = ($argc > 1) ? $argv[1] : NULL;
|
|
+$id = ($argc > 1) ? $argv[1] : null;
|
|
hunk ./scripts/xmppconfirmhandler.php 104
|
|
- $confirm->whereAdd('claimed IS NULL');
|
|
- $confirm->whereAdd('sent IS NULL');
|
|
+ $confirm->whereAdd('claimed IS null');
|
|
+ $confirm->whereAdd('sent IS null');
|
|
hunk ./scripts/xmppconfirmhandler.php 125
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/xmppconfirmhandler.php 130
|
|
- $confirm->claimed = NULL;
|
|
+ $confirm->claimed = null;
|
|
hunk ./scripts/xmppdaemon.php 42
|
|
- function XMPPDaemon($resource=NULL) {
|
|
+ function XMPPDaemon($resource=null) {
|
|
hunk ./scripts/xmppdaemon.php 74
|
|
- NULL, 'available', 100);
|
|
+ null, 'available', 100);
|
|
hunk ./scripts/xmppdaemon.php 95
|
|
- $this->conn->presence('Send me a message to post a notice', 'available', NULL, 'available', 100);
|
|
+ $this->conn->presence('Send me a message to post a notice', 'available', null, 'available', 100);
|
|
hunk ./scripts/xmppdaemon.php 168
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/xmppdaemon.php 173
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/xmppdaemon.php 177
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/xmppdaemon.php 182
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/xmppdaemon.php 186
|
|
- return NULL;
|
|
+ return null;
|
|
hunk ./scripts/xmppdaemon.php 191
|
|
- return NULL;
|
|
+ return null;
|