diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2010-02-11 19:17:20 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2010-02-11 19:17:20 +0000 |
commit | 81b75945bfb645adbae1c6ad1efcc980d4f0e134 (patch) | |
tree | 68975cd087df73019d3d60e0fd3da25a4fb3a671 /lib/search.php | |
parent | 9213c3c96d492e18d5299a5b8a30f52cf713893e (diff) | |
download | ampache-81b75945bfb645adbae1c6ad1efcc980d4f0e134.tar.gz ampache-81b75945bfb645adbae1c6ad1efcc980d4f0e134.tar.bz2 ampache-81b75945bfb645adbae1c6ad1efcc980d4f0e134.zip |
no hacks, especially db changing ones
Diffstat (limited to 'lib/search.php')
-rw-r--r-- | lib/search.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/search.php b/lib/search.php index efcd6998..9dffa2a4 100644 --- a/lib/search.php +++ b/lib/search.php @@ -240,17 +240,6 @@ function search_song($data,$operator,$method,$limit) { $db_results = Dba::read($sql); - // This is just a hack to make it work until we're out of trunk and update is run - if (mysql_errno(Dba::dbh()) == 1191) - { - Dba::read('alter table artist add fulltext(name)'); - Dba::read('alter table album add fulltext(name)'); - Dba::read('alter table song add fulltext(title)'); - - $db_results = Dba::read($sql); - } - // end hack - $results = array(); while ($row = Dba::fetch_assoc($db_results)) { |