Fix the limits on Sphinx executable removal

This commit is contained in:
DariusIII
2015-12-04 20:59:45 +01:00
parent 42242f6336
commit 08a71c642c
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
2015-12-04 DariusIII
Fix: Fix the limits on Sphinx executable removal
Chg: Add backcover for XXX and screenshot for games tabs in details page
Upd: Update Version.php to not update commits and use tags only on master branch
2015-12-03 DariusIII
+9 -1
View File
@@ -427,7 +427,15 @@ class ReleaseRemover
switch (NN_RELEASE_SEARCH_TYPE) {
case ReleaseSearch::SPHINX:
$rs = new ReleaseSearch($this->pdo);
$execFT = str_replace('=10000;', '=1000000;', $rs->getSearchSQL(['filename' => '-exes* -exec* exe']));
$execFT =
str_replace('=10000;', '=1000000;',
$rs->getSearchSQL(
[
'searchname' => '-exes* -exec*',
'filename' => 'exe'
]
)
);
$ftJoin = $rs->getFullTextJoinString();
break;
default: