summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-08-12 10:28:33 +0000
committerDries Buytaert <dries@buytaert.net>2008-08-12 10:28:33 +0000
commit021be926d4c31f1f31673735f1bd37335e89afce (patch)
treee5e52e50b915bd61a2b70bc4deb134c1c7baabee
parent5c14dcafeba6b15afc1d09ae105a818173220430 (diff)
downloadbrdo-021be926d4c31f1f31673735f1bd37335e89afce.tar.gz
brdo-021be926d4c31f1f31673735f1bd37335e89afce.tar.bz2
- Patch #293421 by Bart Jansens: fixed documentation of sess_count().
-rw-r--r--includes/session.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/session.inc b/includes/session.inc
index 25387d79b..a4c85aae6 100644
--- a/includes/session.inc
+++ b/includes/session.inc
@@ -92,15 +92,14 @@ function sess_regenerate() {
}
/**
- * Counts how many users have sessions. Can count either anonymous sessions, authenticated sessions, or both.
+ * Counts how many users have sessions. Can count either anonymous sessions or authenticated sessions.
*
* @param int $timestamp
* A Unix timestamp representing a point of time in the past.
* The default is 0, which counts all existing sessions.
- * @param int $anonymous
+ * @param boolean $anonymous
* TRUE counts only anonymous users.
* FALSE counts only authenticated users.
- * Any other value will return the count of both authenticated and anonymous users.
* @return int
* The number of users with sessions.
*/