mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
fixed problems with updating default values within mssql (update_to_xxx), fixed html-entities match (no longer needed since the html validation changed... -> Related to bug #1267), bug #1374, #1341 - scoot and #1430 fixed too. Some updates related to 2.0.5.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3597 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -447,10 +447,10 @@ switch ($row['config_value'])
|
||||
case 'mssql-odbc':
|
||||
// Add missing defaults to MSSQL post table schema
|
||||
$sql[] = "ALTER TABLE [" . POSTS_TABLE . "] WITH NOCHECK ADD
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_bbcode] DEFAULT (1) FOR [enable_bbcode]
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_html] DEFAULT (0) FOR [enable_html]
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_smilies] DEFAULT (1) FOR [enable_smilies]
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_sig] DEFAULT (1) FOR [enable_sig]
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_bbcode] DEFAULT (1) FOR [enable_bbcode],
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_html] DEFAULT (0) FOR [enable_html],
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_smilies] DEFAULT (1) FOR [enable_smilies],
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_enable_sig] DEFAULT (1) FOR [enable_sig],
|
||||
CONSTRAINT [DF_" . POSTS_TABLE . "_post_edit_count] DEFAULT (0) FOR [post_edit_count]";
|
||||
|
||||
case 'msaccess':
|
||||
|
@@ -386,9 +386,8 @@ function inarray($needle, $haystack)
|
||||
|
||||
function end_step($next)
|
||||
{
|
||||
global $debug;
|
||||
|
||||
print "<hr /><a href=\"$PHP_SELF?next=$next\">Next step: <b>$next</b></a><br /><br />\n";
|
||||
exit;
|
||||
}
|
||||
//
|
||||
// End functions
|
||||
|
Reference in New Issue
Block a user