From 0a96f4ca7b79bbc11fa0c0e60a25c89741ebf167 Mon Sep 17 00:00:00 2001 From: e107steved Date: Tue, 29 Sep 2009 21:25:10 +0000 Subject: [PATCH] Disable redundant code --- install_.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/install_.php b/install_.php index b45427dbe..cd0bb87d4 100644 --- a/install_.php +++ b/install_.php @@ -9,9 +9,9 @@ * Installation file * * $Source: /cvs_backup/e107_0.8/install_.php,v $ -* $Revision: 1.42 $ -* $Date: 2009-09-19 15:27:26 $ -* $Author: secretr $ +* $Revision: 1.43 $ +* $Date: 2009-09-29 21:25:01 $ +* $Author: e107steved $ * */ @@ -1219,11 +1219,10 @@ class e_install foreach ($result[0] as $sql_table) { - //@TODO is this still in use? - preg_match("/CREATE TABLE\s(.*?)\s\(/si", $sql_table, $match); - $tablename = $match[1]; +// preg_match("/CREATE TABLE\s(.*?)\s\(/si", $sql_table, $match); +// $tablename = $match[1]; - preg_match_all("/create(.*?)myisam;/si", $sql_data, $result ); +// preg_match_all("/create(.*?)myisam;/si", $sql_data, $result ); $sql_table = preg_replace("/create table\s/si", "CREATE TABLE {$this->previous_steps['mysql']['prefix']}", $sql_table); if (!$this->dbqry($sql_table, $link)) {