diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/sitemap.php | 6 | ||||
-rwxr-xr-x | scripts/xmppconfirmhandler.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/sitemap.php b/scripts/sitemap.php index 504783e88..51a9bbd75 100644 --- a/scripts/sitemap.php +++ b/scripts/sitemap.php @@ -331,7 +331,7 @@ function parse_args() $output_url = $args[u]; if (file_exists($output_dir)) { - if (is_writable($output_dir) === FALSE) { + if (is_writable($output_dir) === false) { error("$output_dir is not writable."); } } else { @@ -366,11 +366,11 @@ function write_file($path, $data) error('No data specified for writing.'); } - if (($fh_out = fopen($path,'w')) === FALSE) { + if (($fh_out = fopen($path,'w')) === false) { error("couldn't open $path for writing."); } - if (fwrite($fh_out, $data) === FALSE) { + if (fwrite($fh_out, $data) === false) { error("couldn't write to $path."); } } diff --git a/scripts/xmppconfirmhandler.php b/scripts/xmppconfirmhandler.php index b059149bc..1eb932330 100755 --- a/scripts/xmppconfirmhandler.php +++ b/scripts/xmppconfirmhandler.php @@ -110,7 +110,7 @@ class XmppConfirmHandler extends XmppQueueHandler { $confirm->address_type = 'jabber'; $confirm->orderBy('modified DESC'); $confirm->limit(1); - if ($confirm->find(TRUE)) { + if ($confirm->find(true)) { $this->log(LOG_INFO, 'Claiming confirmation for ' . $confirm->address); # working around some weird DB_DataObject behaviour $confirm->whereAdd(''); # clears where stuff |