summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers/g2_import_installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/g2_import/helpers/g2_import_installer.php')
-rw-r--r--modules/g2_import/helpers/g2_import_installer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/g2_import/helpers/g2_import_installer.php b/modules/g2_import/helpers/g2_import_installer.php
index 2bfb7f8c..5f414d42 100644
--- a/modules/g2_import/helpers/g2_import_installer.php
+++ b/modules/g2_import/helpers/g2_import_installer.php
@@ -31,6 +31,11 @@ class g2_import_installer {
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
module::set_version("g2_import", 1);
+ mkdir(VARPATH . "modules/g2_import");
}
}
+
+ static function uninstall() {
+ @dir::unlink(VARPATH . "modules/g2_import");
+ }
}