From: Sergey Kartashoff Date: Mon, 8 Oct 2001 16:50:13 +0000 (+0000) Subject: @- Added support for word match mnogosearch-3.2 command and for stopfile X-Git-Tag: PRE_PARAMETER_PARSING_API~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=012840d145b470a02dda44d141a936675693629a;p=php @- Added support for word match mnogosearch-3.2 command and for stopfile @ command. StopTable will not be supported by mnogosearch-3.2.x - Added support for word match mnogosearch-3.2 command and for stopfile command. StopTable will not be supported by mnogosearch-3.2.x --- diff --git a/ext/mnogosearch/php_mnogo.c b/ext/mnogosearch/php_mnogo.c index c86eb4d09c..fb386cb4e8 100644 --- a/ext/mnogosearch/php_mnogo.c +++ b/ext/mnogosearch/php_mnogo.c @@ -486,7 +486,6 @@ DLEXPORT PHP_FUNCTION(udm_set_agent_param) break; case UDM_PARAM_WORD_MATCH: -#if UDM_VERSION_ID < 30200 switch (atoi(val)){ case UDM_MATCH_WORD: Agent->word_match=UDM_MATCH_WORD; @@ -511,7 +510,6 @@ DLEXPORT PHP_FUNCTION(udm_set_agent_param) RETURN_FALSE; break; } -#endif break; case UDM_PARAM_CACHE_MODE: switch (atoi(val)){ @@ -640,12 +638,10 @@ DLEXPORT PHP_FUNCTION(udm_set_agent_param) break; case UDM_PARAM_STOPFILE: -#if UDM_VERSION_ID < 30200 if (UdmFileLoadStopList(Agent->Conf,val)) { php_error(E_WARNING,Agent->Conf->errstr); RETURN_FALSE; } -#endif break; case UDM_PARAM_WEIGHT_FACTOR: