mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
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
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user