diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-17 16:51:48 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-17 16:51:48 -0700 |
| commit | 33bb2d9177b5d00d1d124145151c082ff4edadc6 (patch) | |
| tree | fbb095d3e1acb8a0f057613bd4f15b669f3d3642 /modules/search/helpers | |
| parent | 191ce0245d9f200f7d70bffc0499a2cece10487e (diff) | |
| parent | 2e23ae98c43ae099a0b7b18f3c65fae21401aa43 (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_dev
Diffstat (limited to 'modules/search/helpers')
| -rw-r--r-- | modules/search/helpers/search_installer.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/search/helpers/search_installer.php b/modules/search/helpers/search_installer.php index 096f46c7..f3225b4e 100644 --- a/modules/search/helpers/search_installer.php +++ b/modules/search/helpers/search_installer.php @@ -28,7 +28,7 @@ class search_installer { PRIMARY KEY (`id`), KEY(`item_id`), FULLTEXT INDEX (`data`)) - ENGINE=MYISAM + ENGINE=MyISAM DEFAULT CHARSET=utf8;"); module::set_version("search", 1); } @@ -48,13 +48,4 @@ class search_installer { static function uninstall() { Database::instance()->query("DROP TABLE {search_records}"); } - - static function upgrade($version) { - $db = Database::instance(); - if ($version == 1) { - $db->query("ALTER TABLE {search_records} ENGINE=MYISAM"); - module::set_version("search", 2); - } - } - } |
