aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2002-11-27 13:24:46 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2002-11-27 13:24:46 +0000
commit831c9b5a611e2591e3b79170b4e487241e2d9595 (patch)
tree6b8478fa295f93add8428c3e2ab93d3037e62a39 /phpBB/common.php
parent16e8fb800fb3b72d1c87fca829faab1cbb668f25 (diff)
downloadforums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar
forums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar.gz
forums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar.bz2
forums-831c9b5a611e2591e3b79170b4e487241e2d9595.tar.xz
forums-831c9b5a611e2591e3b79170b4e487241e2d9595.zip
Initial Lastread support. Mind the schema and config changes\!
git-svn-id: file:///svn/phpbb/trunk@3102 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 490fa9cdc0..982e3acb73 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -86,6 +86,10 @@ define('POST_NORMAL', 0);
define('POST_STICKY', 1);
define('POST_ANNOUNCE', 2);
+// Lastread types
+define('LASTREAD_NORMAL', 0); // not used at the moment
+define('LASTREAD_POSTED', 1);
+
// Error codes
define('MESSAGE', 200);
define('ERROR', 201);
@@ -109,6 +113,7 @@ define('FORUMS_TABLE', $table_prefix.'forums');
define('FORUMS_WATCH_TABLE', $table_prefix.'forums_watch');
define('GROUPS_TABLE', $table_prefix.'groups');
define('ICONS_TABLE', $table_prefix.'icons');
+define('LASTREAD_TABLE', $table_prefix.'lastread');
define('LOG_ADMIN_TABLE', $table_prefix.'log_admin');
define('LOG_MOD_TABLE', $table_prefix.'log_moderator');
define('MODERATOR_TABLE', $table_prefix.'moderator_cache');
@@ -196,4 +201,4 @@ function slash_input_data(&$data)
return $data;
}
-?> \ No newline at end of file
+?>