summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers/g2_import_installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-27 23:15:09 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-27 23:15:09 -0700
commit93053cf83152082ce2fb365ad2ab6034c9edd4ee (patch)
tree2b509460486741547cab2541ca372dbb4b43c02b /modules/g2_import/helpers/g2_import_installer.php
parent993eecfee61e502660f490bec5b394640b917bd1 (diff)
parent38708920181f3bb7787ccd11128e5f6f0b74cbf7 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
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");
+ }
}