summaryrefslogtreecommitdiff
path: root/_darcs/pristine/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:44:28 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:44:28 -0500
commit7ad2f2a371eae2489330f30306cfcbb204411bae (patch)
tree860c4f8e3749bb180f5d287c6b8e5eb65ccea5f1 /_darcs/pristine/scripts
parent04ef1ba8eee7a9e2a565d7b4b747ef607665d562 (diff)
TRUE
More PEAR coding standards global changes. Here, I've changed all instances of TRUE to true and FALSE to false. darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
Diffstat (limited to '_darcs/pristine/scripts')
-rw-r--r--_darcs/pristine/scripts/sitemap.php6
-rw-r--r--_darcs/pristine/scripts/xmppconfirmhandler.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/_darcs/pristine/scripts/sitemap.php b/_darcs/pristine/scripts/sitemap.php
index 504783e88..51a9bbd75 100644
--- a/_darcs/pristine/scripts/sitemap.php
+++ b/_darcs/pristine/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/_darcs/pristine/scripts/xmppconfirmhandler.php b/_darcs/pristine/scripts/xmppconfirmhandler.php
index b059149bc..1eb932330 100644
--- a/_darcs/pristine/scripts/xmppconfirmhandler.php
+++ b/_darcs/pristine/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