aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-09-11 18:03:15 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-09-11 18:03:15 +0000
commit35c5fe21cb45e4ec69109745b5e8ca6c529f57ac (patch)
tree7f63caac638503651c3eca80a130d4aa2ac9f657 /phpBB
parentd3f8ea83db6f280972625dc180ab76a7d8f4f1ff (diff)
downloadforums-35c5fe21cb45e4ec69109745b5e8ca6c529f57ac.tar
forums-35c5fe21cb45e4ec69109745b5e8ca6c529f57ac.tar.gz
forums-35c5fe21cb45e4ec69109745b5e8ca6c529f57ac.tar.bz2
forums-35c5fe21cb45e4ec69109745b5e8ca6c529f57ac.tar.xz
forums-35c5fe21cb45e4ec69109745b5e8ca6c529f57ac.zip
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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/install/database_update.php35
1 files changed, 5 insertions, 30 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 9f6d82c747..73507455cd 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -105,21 +105,14 @@ $database_update_info = array(
/*
// Change the following columns...
'change_columns' => array(
- USERS_TABLE => array(
- 'user_avatar_width' => array('USINT', 0),
- 'user_avatar_height' => array('USINT', 0),
+ {table} => array(
+ {column_name} => array('USINT', 0), -> column type
),
),
// Add the following columns
'add_columns' => array(
- TOPICS_TABLE => array(
- 'topic_first_poster_colour' => array('VCHAR:6', ''),
- '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', ''),
+ {table} => array(
+ {column_name} => array('USINT', 0), -> column type
),
),
*/
@@ -272,25 +265,7 @@ switch ($current_version)
{
case '3.0.b3':
/*
- $sql = 'SELECT forum_id
- 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);
- }
+ some code magic
*/
// No need to change here, before no break should appear
break;