aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2009-07-21 20:59:11 +0000
committerNils Adermann <naderman@naderman.de>2009-07-21 20:59:11 +0000
commit6e4a7c03d14d6fcc03955fbe26c3d5f725eb929d (patch)
tree055fde9f035382ec59b83962cc4120022fbf7ced /phpBB/develop
parent0ee8d7ab15caae94cdd381e9f449713c8838b611 (diff)
downloadforums-6e4a7c03d14d6fcc03955fbe26c3d5f725eb929d.tar
forums-6e4a7c03d14d6fcc03955fbe26c3d5f725eb929d.tar.gz
forums-6e4a7c03d14d6fcc03955fbe26c3d5f725eb929d.tar.bz2
forums-6e4a7c03d14d6fcc03955fbe26c3d5f725eb929d.tar.xz
forums-6e4a7c03d14d6fcc03955fbe26c3d5f725eb929d.zip
Users can report PMs to moderators which are then visible in a new MCP module
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9814 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/create_schema_files.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 42f6251f67..ab021a15ec 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1332,6 +1332,7 @@ function get_schema_struct()
'message_edit_count' => array('USINT', 0),
'to_address' => array('TEXT_UNI', ''),
'bcc_address' => array('TEXT_UNI', ''),
+ 'message_reported' => array('BOOL', 0),
),
'PRIMARY_KEY' => 'msg_id',
'KEYS' => array(
@@ -1465,6 +1466,7 @@ function get_schema_struct()
'report_id' => array('UINT', NULL, 'auto_increment'),
'reason_id' => array('USINT', 0),
'post_id' => array('UINT', 0),
+ 'pm_id' => array('UINT', 0),
'user_id' => array('UINT', 0),
'user_notify' => array('BOOL', 0),
'report_closed' => array('BOOL', 0),
@@ -1472,6 +1474,10 @@ function get_schema_struct()
'report_text' => array('MTEXT_UNI', ''),
),
'PRIMARY_KEY' => 'report_id',
+ 'KEYS' => array(
+ 'post_id' => array('INDEX', 'post_id'),
+ 'pm_id' => array('INDEX', 'pm_id'),
+ ),
);
$schema_data['phpbb_reports_reasons'] = array(