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:
parent
b61b3e958f
commit
5a1d1b01f4
@ -21,4 +21,11 @@ class developer_installer {
|
|||||||
static function install() {
|
static function install() {
|
||||||
module::set_version("developer", 1);
|
module::set_version("developer", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static function upgrade($version) {
|
||||||
|
}
|
||||||
|
|
||||||
|
static function uninstall() {
|
||||||
|
module::delete("developer");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,9 @@ class <?= $module ?>_installer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static function upgrade($version) {
|
||||||
|
}
|
||||||
|
|
||||||
static function uninstall() {
|
static function uninstall() {
|
||||||
/* @todo Put database table drops here */
|
/* @todo Put database table drops here */
|
||||||
module::delete("<?= $module ?>");
|
module::delete("<?= $module ?>");
|
||||||
|
Reference in New Issue
Block a user