From ba3ee3e41cdaf591f9cb1aeb1f6ff5aa83285d1d Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 8 Nov 2020 17:26:27 +0100 Subject: Remove last qdb() usage! \(^.^)/ --- ratatoeskr/setup/create_tables.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'ratatoeskr/setup/create_tables.php') diff --git a/ratatoeskr/setup/create_tables.php b/ratatoeskr/setup/create_tables.php index 4898e84..e16647c 100644 --- a/ratatoeskr/setup/create_tables.php +++ b/ratatoeskr/setup/create_tables.php @@ -1,12 +1,17 @@ database(); $queries = explode(";", $sql_tables); foreach ($queries as $q) { if (!empty($q)) { - qdb($q); + $db->query($q); } } - qdb("INSERT INTO `PREFIX_meta` (`key`, `value`) VALUES ('dbversion', ?)", base64_encode(serialize(1))); + $db->query("INSERT INTO `PREFIX_meta` (`key`, `value`) VALUES ('dbversion', ?)", base64_encode(serialize(1))); } -- cgit v1.2.3-70-g09d2