summaryrefslogtreecommitdiff
path: root/lib/mysqlschema.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysqlschema.php')
-rw-r--r--lib/mysqlschema.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php
index 696b2b8d2..98e276a40 100644
--- a/lib/mysqlschema.php
+++ b/lib/mysqlschema.php
@@ -244,29 +244,6 @@ class MysqlSchema extends Schema
}
/**
- * Pull info from the query into a fun-fun array of dooooom
- *
- * @param string $sql
- * @return array of arrays
- */
- protected function fetchQueryData($sql)
- {
- $res = $this->conn->query($sql);
- if (PEAR::isError($res)) {
- throw new Exception($res->getMessage());
- }
-
- $out = array();
- $row = array();
- while ($res->fetchInto($row, DB_FETCHMODE_ASSOC)) {
- $out[] = $row;
- }
- $res->free();
-
- return $out;
- }
-
- /**
* Creates a table with the given names and columns.
*
* @param string $name Name of the table