mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
removing some test data to not give the impression we provide an update between betas.
git-svn-id: file:///svn/phpbb/trunk@6363 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d3f8ea83db
commit
35c5fe21cb
1 changed files with 5 additions and 30 deletions
|
@ -105,21 +105,14 @@ $database_update_info = array(
|
||||||
/*
|
/*
|
||||||
// Change the following columns...
|
// Change the following columns...
|
||||||
'change_columns' => array(
|
'change_columns' => array(
|
||||||
USERS_TABLE => array(
|
{table} => array(
|
||||||
'user_avatar_width' => array('USINT', 0),
|
{column_name} => array('USINT', 0), -> column type
|
||||||
'user_avatar_height' => array('USINT', 0),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// Add the following columns
|
// Add the following columns
|
||||||
'add_columns' => array(
|
'add_columns' => array(
|
||||||
TOPICS_TABLE => array(
|
{table} => array(
|
||||||
'topic_first_poster_colour' => array('VCHAR:6', ''),
|
{column_name} => array('USINT', 0), -> column type
|
||||||
'topic_last_post_subject' => array('XSTEXT', ''),
|
|
||||||
'topic_last_poster_colour' => array('VCHAR:6', ''),
|
|
||||||
),
|
|
||||||
FORUMS_TABLE => array(
|
|
||||||
'forum_last_post_subject' => array('XSTEXT', ''),
|
|
||||||
'forum_last_poster_colour' => array('VCHAR:6', ''),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
*/
|
*/
|
||||||
|
@ -272,25 +265,7 @@ switch ($current_version)
|
||||||
{
|
{
|
||||||
case '3.0.b3':
|
case '3.0.b3':
|
||||||
/*
|
/*
|
||||||
$sql = 'SELECT forum_id
|
some code magic
|
||||||
FROM ' . FORUMS_TABLE;
|
|
||||||
$result = _sql($sql, $errored, $error_ary);
|
|
||||||
|
|
||||||
$forum_ids = array();
|
|
||||||
while ($row = $db->sql_fetchrow($result))
|
|
||||||
{
|
|
||||||
$forum_ids[] = $row['forum_id'];
|
|
||||||
}
|
|
||||||
$db->sql_freeresult($result);
|
|
||||||
|
|
||||||
if (sizeof($forum_ids))
|
|
||||||
{
|
|
||||||
// Since we changed the last post informations we need to sync a bit...
|
|
||||||
sync('forum', 'forum_id', $forum_ids, true);
|
|
||||||
|
|
||||||
// Sync topics
|
|
||||||
sync('topic', 'forum_id', $forum_ids, true);
|
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
// No need to change here, before no break should appear
|
// No need to change here, before no break should appear
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue