From e1f2a5d4e60f431e0a94c998afc026f1136fb26b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 11 Dec 2008 17:20:55 +0000 Subject: 1) Begins the creation of the local import module by adding the administation component to the scaffolding Actions tab. The importing functionality will follow shortly. 2) Defines a routining pattern for module administration controllers. URI's of the form admin/module/method/parameters gets remapped into module_admin/method/parameters. This will result in the lookup of the the controller Module_Admin_Controller --- .../helpers/local_import_installer.php | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 modules/local_import/helpers/local_import_installer.php (limited to 'modules/local_import/helpers/local_import_installer.php') diff --git a/modules/local_import/helpers/local_import_installer.php b/modules/local_import/helpers/local_import_installer.php new file mode 100644 index 00000000..72f42c97 --- /dev/null +++ b/modules/local_import/helpers/local_import_installer.php @@ -0,0 +1,41 @@ +query("DELETE FROM `vars` WHERE `module_id` = {$module->id};"); + + module::delete("local_import"); + } +} -- cgit v1.2.3