Merge rPFa0fb15a86ae6: T357: Removed more characters from the fulltext query.

This commit is contained in:
Kelvin Zhang 2015-09-10 12:59:33 +01:00
parent 16db65d8bd
commit 5bc6dd78b0

View file

@ -75,7 +75,7 @@ class ClassifyMLPMA extends Command
// Original, show song remix, fan song remix, show audio remix, or ponified song?
//==========================================================================================================
$sanitizedTrackTitle = $parsedTags['title'];
$sanitizedTrackTitle = str_replace(['-', '+', '~', 'ft.', '*'], ' ', $sanitizedTrackTitle);
$sanitizedTrackTitle = str_replace(['-', '+', '~', 'ft.', '*', '(', ')', '.'], ' ', $sanitizedTrackTitle);
$queriedTitle = DB::connection()->getPdo()->quote($sanitizedTrackTitle);
$officialSongs = ShowSong::select(['id', 'title'])