1
0

Change the developer_installer and installer.txt.php to support the new install format.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
This commit is contained in:
Tim Almdal 2009-07-01 14:00:14 +08:00
parent b61b3e958f
commit 5a1d1b01f4
2 changed files with 10 additions and 0 deletions

View File

@ -21,4 +21,11 @@ class developer_installer {
static function install() {
module::set_version("developer", 1);
}
static function upgrade($version) {
}
static function uninstall() {
module::delete("developer");
}
}

View File

@ -27,6 +27,9 @@ class <?= $module ?>_installer {
}
}
static function upgrade($version) {
}
static function uninstall() {
/* @todo Put database table drops here */
module::delete("<?= $module ?>");