diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-09-19 07:53:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-09-19 07:53:59 +0000 |
commit | 8fc581d4d70ad4554a574d6338c96b744195a25a (patch) | |
tree | 76d31cd86d5e52f4f7d7c8ea5e81c4bb03a728cb /includes | |
parent | 88c75b8772ce0d5bdf4bf430bcfc6010dd440ac2 (diff) | |
download | brdo-8fc581d4d70ad4554a574d6338c96b744195a25a.tar.gz brdo-8fc581d4d70ad4554a574d6338c96b744195a25a.tar.bz2 |
- Patch #309488 by kbahey: correct capitalization of TRUE and FALSE.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/bootstrap.inc | 2 | ||||
-rw-r--r-- | includes/session.inc | 2 | ||||
-rw-r--r-- | includes/theme.maintenance.inc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 878af3c82..fd27b84a8 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1193,7 +1193,7 @@ function language_default($property = NULL) { * IP address of client machine, adjusted for reverse proxy and/or cluster * environments. */ -function ip_address($reset = false) { +function ip_address($reset = FALSE) { static $ip_address = NULL; if (!isset($ip_address) || $reset) { diff --git a/includes/session.inc b/includes/session.inc index 46b5cadd1..dad583335 100644 --- a/includes/session.inc +++ b/includes/session.inc @@ -189,7 +189,7 @@ function drupal_session_regenerate() { * @return int * The number of users with sessions. */ -function drupal_session_count($timestamp = 0, $anonymous = true) { +function drupal_session_count($timestamp = 0, $anonymous = TRUE) { $query = $anonymous ? ' AND uid = 0' : ' AND uid > 0'; return db_result(db_query('SELECT COUNT(sid) AS count FROM {sessions} WHERE timestamp >= %d' . $query, $timestamp)); } diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index 0bc115942..1ece4e58f 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -87,7 +87,7 @@ function theme_task_list($items, $active = NULL) { foreach ($items as $k => $item) { if ($active == $k) { $class = 'active'; - $done = false; + $done = FALSE; } else { $class = $done ? 'done' : ''; |