dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Got rid of the MagicWord indexing constants (MAG_xxx), replaced them by string indexi...
[lhc/web/wiklou.git]
/
includes
/
SearchEngine.php
diff --git
a/includes/SearchEngine.php
b/includes/SearchEngine.php
index
ae44e20
..
c3b3851
100644
(file)
--- a/
includes/SearchEngine.php
+++ b/
includes/SearchEngine.php
@@
-195,8
+195,8
@@
class SearchEngine {
$class = $wgSearchType;
} elseif( $wgDBtype == 'mysql' ) {
$class = 'SearchMySQL4';
$class = $wgSearchType;
} elseif( $wgDBtype == 'mysql' ) {
$class = 'SearchMySQL4';
- } else if ( $wgDBtype == '
PostgreSQL
' ) {
- $class = 'Search
Tsearch2
';
+ } else if ( $wgDBtype == '
postgres
' ) {
+ $class = 'Search
Postgres
';
} else {
$class = 'SearchEngineDummy';
}
} else {
$class = 'SearchEngineDummy';
}