Index: shortform/shortform.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/shortform/shortform.install,v retrieving revision 1.1 diff -u -p -r1.1 shortform.install --- shortform/shortform.install 23 Jun 2007 11:29:29 -0000 1.1 +++ shortform/shortform.install 20 Jan 2008 07:10:49 -0000 @@ -4,6 +4,7 @@ function shortform_install() { switch ($GLOBALS['db_type']) { case 'mysql': + case 'mysqli': db_query(" CREATE TABLE {shortform} ( `form_id` varchar(32) NOT NULL, @@ -15,3 +16,10 @@ function shortform_install() { break; } } + +function shortform_uninstall() { + cache_clear_all('shortform'); + db_query('DROP TABLE {shortform}'); + variable_del('shortform_spy'); + variable_del('shortform_enabled'); +}