T357: Removed more characters from the fulltext query.

This commit is contained in:
Peter Deltchev 2015-09-08 23:17:13 -07:00
parent 6d1de13fd3
commit a0fb15a86a

View file

@ -73,7 +73,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'])