From 38708920181f3bb7787ccd11128e5f6f0b74cbf7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 27 May 2009 22:57:38 -0700 Subject: Commit an egregious hack to work around the fact that both Gallery 2 and Gallery 3 have a class named Gallery. Clone a subset of the Gallery 2 files and munge them so that we can rename the Galery 2 version to G2_Gallery. Also, update the disclaimer in Admin > Settings > Gallery 2 Import. --- modules/g2_import/helpers/g2_import_installer.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/g2_import/helpers/g2_import_installer.php') 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"); + } } -- cgit v1.2.3