diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-07 19:32:23 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-07 19:32:23 +0000 |
commit | 0e7adebad6e61c066b52e5480d5aa36a23571388 (patch) | |
tree | 084461c12434d2b18e791d482ee352566fc0b65e /phpBB/includes/search/fulltext_mysql.php | |
parent | 13b9021ae436a625aed61ba20b9d337bf585f6ba (diff) | |
download | forums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar forums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar.gz forums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar.bz2 forums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar.xz forums-0e7adebad6e61c066b52e5480d5aa36a23571388.zip |
ok, sorry for this. :/
- cleaned up table names/constants
git-svn-id: file:///svn/phpbb/trunk@6021 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_mysql.php')
-rw-r--r-- | phpBB/includes/search/fulltext_mysql.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php index bd619a9ffe..ae674e1af7 100644 --- a/phpBB/includes/search/fulltext_mysql.php +++ b/phpBB/includes/search/fulltext_mysql.php @@ -648,7 +648,7 @@ class fulltext_mysql extends search_backend $db->sql_query('ALTER TABLE ' . POSTS_TABLE . ' ADD FULLTEXT (post_text)'); } - $db->sql_query('TRUNCATE TABLE ' . SEARCH_TABLE); + $db->sql_query('TRUNCATE TABLE ' . SEARCH_RESULTS_TABLE); return false; } @@ -681,7 +681,7 @@ class fulltext_mysql extends search_backend $db->sql_query('ALTER TABLE ' . POSTS_TABLE . ' DROP INDEX post_text'); } - $db->sql_query('TRUNCATE TABLE ' . SEARCH_TABLE); + $db->sql_query('TRUNCATE TABLE ' . SEARCH_RESULTS_TABLE); return false; } |