summaryrefslogtreecommitdiff
path: root/ext/mnogosearch/php_mnogo.c
diff options
context:
space:
mode:
authorSergey Kartashoff <gluke@php.net>2001-10-08 16:50:13 +0000
committerSergey Kartashoff <gluke@php.net>2001-10-08 16:50:13 +0000
commit012840d145b470a02dda44d141a936675693629a (patch)
tree8d2a9385f08c39eda21f03f0876473a611867a05 /ext/mnogosearch/php_mnogo.c
parent3629062ab64298b3253a43e5c2244e07b9270b40 (diff)
downloadphp-git-012840d145b470a02dda44d141a936675693629a.tar.gz
@- 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
Diffstat (limited to 'ext/mnogosearch/php_mnogo.c')
-rw-r--r--ext/mnogosearch/php_mnogo.c4
1 files changed, 0 insertions, 4 deletions
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: