[quote="ajb":1dbn38uk]Hi,
You should implement uninstall method also
class Custom_HelloWorldInstall extends ModuleInstall {
public function install() { // Here you can place the installation process for the module
Base_ThemeCommon::install_default_theme($this->get_type());
$fields = new Custom_HelloWorld_Recordset();
$success = $fields->install();
$fields->add_default_access();
$fields->set_caption(_M('Hello World'));
return true; // Return true on success and false on failure
}
public function uninstall() { // Here you can place uninstallation process for the module
Base_ThemeCommon::uninstall_default_theme($this->get_type());
$fields = new Custom_HelloWorld_Recordset();
$success = $fields->uninstall();
return true; // Return true on success and false on failure
}
...
}
Thanks for pointing out our mistake in tutorial.
Regards,
Adam[/quote:1dbn38uk]
FYI: That worked great. I just implemented it and cleaned up all my old test modules.