summaryrefslogtreecommitdiff
path: root/_darcs/pristine/classes/Notice.php
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/classes/Notice.php
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/classes/Notice.php')
-rw-r--r--_darcs/pristine/classes/Notice.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/_darcs/pristine/classes/Notice.php b/_darcs/pristine/classes/Notice.php
index d3aa4e828..3eb653066 100644
--- a/_darcs/pristine/classes/Notice.php
+++ b/_darcs/pristine/classes/Notice.php
@@ -321,19 +321,19 @@ class Notice extends Memcached_DataObject
static function getStreamDirect($qry, $offset, $limit, $since_id, $before_id, $order, $since) {
- $needAnd = FALSE;
- $needWhere = TRUE;
+ $needAnd = false;
+ $needWhere = true;
if (preg_match('/\bWHERE\b/i', $qry)) {
- $needWhere = FALSE;
- $needAnd = TRUE;
+ $needWhere = false;
+ $needAnd = true;
}
if ($since_id > 0) {
if ($needWhere) {
$qry .= ' WHERE ';
- $needWhere = FALSE;
+ $needWhere = false;
} else {
$qry .= ' AND ';
}
@@ -345,7 +345,7 @@ class Notice extends Memcached_DataObject
if ($needWhere) {
$qry .= ' WHERE ';
- $needWhere = FALSE;
+ $needWhere = false;
} else {
$qry .= ' AND ';
}
@@ -357,7 +357,7 @@ class Notice extends Memcached_DataObject
if ($needWhere) {
$qry .= ' WHERE ';
- $needWhere = FALSE;
+ $needWhere = false;
} else {
$qry .= ' AND ';
}
@@ -411,7 +411,7 @@ class Notice extends Memcached_DataObject
# On a cache hit, return a DB-object-like wrapper
- if ($notices !== FALSE) {
+ if ($notices !== false) {
$wrapper = new NoticeWrapper(array_slice($notices, $offset, $limit));
return $wrapper;
}