aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade.php b/upgrade.php
index 073030592..20ab360da 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -80,7 +80,7 @@ function get_tables()
$query = '
SHOW TABLES
;';
- $result = mysql_query($query);
+ $result = pwg_query($query);
while ($row = mysql_fetch_row($result))
{
@@ -107,7 +107,7 @@ function get_columns_of($tables)
$query = '
DESC '.$table.'
;';
- $result = mysql_query($query);
+ $result = pwg_query($query);
$columns_of[$table] = array();