mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
- new members of moderator groups should always become moderators [Bug #382]
- proper message when replying to non-existant topics [Bug #459] - changed column type of search_array to store more ids [Bug #4058] - fixed annoyance with font-size selector [Bug #4612] git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@6749 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -257,7 +257,7 @@ CREATE TABLE phpbb_search_results (
|
||||
search_id int(11) UNSIGNED NOT NULL default '0',
|
||||
session_id char(32) NOT NULL default '',
|
||||
search_time int(11) DEFAULT '0' NOT NULL,
|
||||
search_array text NOT NULL,
|
||||
search_array mediumtext NOT NULL,
|
||||
PRIMARY KEY (search_id),
|
||||
KEY session_id (session_id)
|
||||
);
|
||||
|
@@ -657,6 +657,19 @@ switch ($row['config_value'])
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case '.0.21':
|
||||
|
||||
// MySQL only change
|
||||
switch (SQL_LAYER)
|
||||
{
|
||||
case 'mysql':
|
||||
case 'mysql4':
|
||||
$sql[] = 'ALTER TABLE ' . SEARCH_TABLE . '
|
||||
MODIFY COLUMN search_array MEDIUMTEXT NOT NULL';
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -860,7 +873,7 @@ switch ($row['config_value'])
|
||||
if (preg_match("#^lang_#i", $file) && !is_file($phpbb_root_path . $dirname . "/" . $file) && !is_link($phpbb_root_path . $dirname . "/" . $file) && file_exists($phpbb_root_path . $dirname . "/" . $file . '/search_stopwords.txt'))
|
||||
{
|
||||
|
||||
$stopword_list = trim(preg_replace('#([\w\.\-_\+\'<EFBFBD><EFBFBD>-<2D>\\\]+?)[ \n\r]*?(,|$)#', '\'\1\'\2', str_replace("'", "\'", implode(', ', file($phpbb_root_path . $dirname . "/" . $file . '/search_stopwords.txt')))));
|
||||
$stopword_list = trim(preg_replace('#([\w\.\-_\+\'-\\\]+?)[ \n\r]*?(,|$)#', '\'\1\'\2', str_replace("'", "\'", implode(', ', file($phpbb_root_path . $dirname . "/" . $file . '/search_stopwords.txt')))));
|
||||
|
||||
$sql = "SELECT word_id
|
||||
FROM " . SEARCH_WORD_TABLE . "
|
||||
|
Reference in New Issue
Block a user