From 7c5ba9d4229a6e3c258f6a80769e70c5dcd68578 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 15 Mar 2009 05:15:45 +0000 Subject: Refactored the developer module. When a new module is generated a skeleton adminstration page is generated as well. @todo is still generate a skeleton block and a skeleton dialog. --- modules/developer/views/installer.txt.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/developer/views/installer.txt.php') 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 _installer { +class _installer { static function install() { - $version = module::get_version(""); + $version = module::get_version(""); if ($version == 0) { /* @todo Put database creation here */ - module::set_version("", 1); + module::set_version("", 1); } } static function uninstall() { - module::delete(""); + /* @todo Put database table drops here */ + module::delete(""); } } -- cgit v1.2.3