From 8dfa1fe412a2c39976dfecc70d2b90bce3aa5844 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 7 Mar 2009 01:15:31 +0000 Subject: [PATCH] SQL fixed --- inc/cache/.revision | 6 +++--- inc/extensions/ext-sql_patches.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/cache/.revision b/inc/cache/.revision index 2458b5058e..471f8160de 100644 --- a/inc/cache/.revision +++ b/inc/cache/.revision @@ -1,4 +1,4 @@ 856 -1236367472 -0.2.1-FINAL-STELZI -stelzi \ No newline at end of file +1236385939 +0.2.1-FINAL +quix0r \ No newline at end of file diff --git a/inc/extensions/ext-sql_patches.php b/inc/extensions/ext-sql_patches.php index ef7cd0867b..ed63c11763 100644 --- a/inc/extensions/ext-sql_patches.php +++ b/inc/extensions/ext-sql_patches.php @@ -58,7 +58,7 @@ case "register": // Do stuff when installation is running (modules.php?module=ad case "remove": // Do stuff when removing extension // Drop tables ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_admin_menu_las`"); - ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_admin_menu_las`_data"); + ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_admin_menu_las_data`"); ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_admin_menu_stats`"); ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_user_stats_data`"); ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_user_book`"); @@ -423,8 +423,8 @@ INDEX (la_what), PRIMARY KEY(id) ) TYPE={!_TABLE_TYPE!}"); // All "logical areas" together - ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_admin_menu_las`_data"); - ADD_SQL("CREATE TABLE `{!_MYSQL_PREFIX!}_admin_menu_las`_data ( + ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_admin_menu_las_data`"); + ADD_SQL("CREATE TABLE `{!_MYSQL_PREFIX!}_admin_menu_las_data` ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, la_id VARCHAR(255) NOT NULL DEFAULT '', la_title VARCHAR(255) NOT NULL DEFAULT '', -- 2.39.5