summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-12-11 12:00:07 +0000
committerDries Buytaert <dries@buytaert.net>2006-12-11 12:00:07 +0000
commiteb5e171cb659107b4ffc65f01e204568b7c740c4 (patch)
tree59821c4c5acc45b0f4b512635c66844896886552
parent2474121c33ac20684508657f787321945f7ec3c3 (diff)
downloadbrdo-eb5e171cb659107b4ffc65f01e204568b7c740c4.tar.gz
brdo-eb5e171cb659107b4ffc65f01e204568b7c740c4.tar.bz2
- Patch #102612 by webchick: document constants.
-rw-r--r--includes/bootstrap.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 83979afd9..ea6f6e4f9 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -60,8 +60,14 @@ define('DRUPAL_BOOTSTRAP_PATH', 6);
*/
define('DRUPAL_BOOTSTRAP_FULL', 7);
-// These values should match the 'role' table
+/**
+ * Role ID for anonymous users; should match what's in the "role" table.
+ */
define('DRUPAL_ANONYMOUS_RID', 1);
+
+/**
+ * Role ID for authenticated users; should match what's in the "role" table.
+ */
define('DRUPAL_AUTHENTICATED_RID', 2);
/**