summaryrefslogtreecommitdiff
path: root/modules/developer/views/installer.txt.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/developer/views/installer.txt.php')
-rw-r--r--modules/developer/views/installer.txt.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/developer/views/installer.txt.php b/modules/developer/views/installer.txt.php
index 81d6d795..1ccc3327 100644
--- a/modules/developer/views/installer.txt.php
+++ b/modules/developer/views/installer.txt.php
@@ -18,16 +18,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class <?= $module_name ?>_installer {
+class <?= $module ?>_installer {
static function install() {
- $version = module::get_version("<?= $module_name ?>");
+ $version = module::get_version("<?= $module ?>");
if ($version == 0) {
/* @todo Put database creation here */
- module::set_version("<?= $module_name ?>", 1);
+ module::set_version("<?= $module ?>", 1);
}
}
static function uninstall() {
- module::delete("<?= $module_name ?>");
+ /* @todo Put database table drops here */
+ module::delete("<?= $module ?>");
}
}