aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_mysql.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-07-07 18:43:52 +0000
committerNils Adermann <naderman@naderman.de>2006-07-07 18:43:52 +0000
commitc6227ad5b0904c2c61737c8267f71fbc9f543a3b (patch)
tree816b1d766d2bc1c3dc15b6071c19895f379830c7 /phpBB/includes/search/fulltext_mysql.php
parenta5c23243c7a0a86ccd749b7733b11d30a6c349e1 (diff)
downloadforums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar
forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar.gz
forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar.bz2
forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar.xz
forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.zip
- fixed a parse error (oops)
- pass forum_ids to search indexing functions - fixed a bug in fulltext_native's cache destroying git-svn-id: file:///svn/phpbb/trunk@6152 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_mysql.php')
-rw-r--r--phpBB/includes/search/fulltext_mysql.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php
index b65818dad7..16a1b6c1c2 100644
--- a/phpBB/includes/search/fulltext_mysql.php
+++ b/phpBB/includes/search/fulltext_mysql.php
@@ -555,7 +555,7 @@ class fulltext_mysql extends search_backend
*
* @param string $mode contains the post mode: edit, post, reply, quote ...
*/
- function index($mode, $post_id, &$message, &$subject, $poster_id)
+ function index($mode, $post_id, &$message, &$subject, $poster_id, $forum_id)
{
global $db;
@@ -606,7 +606,7 @@ class fulltext_mysql extends search_backend
/**
* Destroy cached results, that might be outdated after deleting a post
*/
- function index_remove($post_ids, $author_ids)
+ function index_remove($post_ids, $author_ids, $forum_ids)
{
$this->destroy_cache(array(), $author_ids);
}