diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-08-14 20:43:56 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-08-14 20:43:56 +0000 |
commit | e2710a5101e53492b0e040456547187ccff601e9 (patch) | |
tree | 33677f2ed1647e17c54b384003dbb550ec6669d3 /phpBB/includes/constants.php | |
parent | bd8652f1869c477b5b7e066eb61b435312c7cd3e (diff) | |
download | forums-e2710a5101e53492b0e040456547187ccff601e9.tar forums-e2710a5101e53492b0e040456547187ccff601e9.tar.gz forums-e2710a5101e53492b0e040456547187ccff601e9.tar.bz2 forums-e2710a5101e53492b0e040456547187ccff601e9.tar.xz forums-e2710a5101e53492b0e040456547187ccff601e9.zip |
A few changes to topic moving. TOPIC_MOVE constant gets set to the topic_status field so that moved topics don't 'stick' at the top of viewforum. Also, added topic_moved_id field to store the ID that the topic moves to.
git-svn-id: file:///svn/phpbb/trunk@877 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/constants.php')
-rw-r--r-- | phpBB/includes/constants.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 926eb79624..24011932fb 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -40,18 +40,20 @@ define(ADMIN, 1); define(FORUM_UNLOCKED, 0); define(FORUM_LOCKED, 1); -// Topic state +// Topic status define(TOPIC_UNLOCKED, 0); define(TOPIC_LOCKED, 1); +define(TOPIC_MOVED, 2); define(TOPIC_WATCH_NOTIFIED, 1); define(TOPIC_WATCH_UN_NOTIFIED, 0); + // Topic types define(POST_NORMAL, 0); define(POST_STICKY, 1); define(POST_ANNOUNCE, 2); define(POST_GLOBAL_ANNOUNCE, 3); -define(TOPIC_MOVED,4); + // SQL codes define(BEGIN_TRANSACTION, 1); @@ -136,7 +138,7 @@ define('GROUPS_TABLE', $table_prefix.'groups'); define('POSTS_TABLE', $table_prefix.'posts'); define('POSTS_TEXT_TABLE', $table_prefix.'posts_text'); define('PRIVMSGS_TABLE', $table_prefix.'privmsgs'); -define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text'); +define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text'); define('PRIVMSGS_IGNORE_TABLE', $table_prefix.'privmsgs_ignore'); define('RANKS_TABLE', $table_prefix.'ranks'); define('SESSIONS_TABLE', $table_prefix.'session'); |