summaryrefslogtreecommitdiff
path: root/system/libraries/Database_Mysql.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-06 17:05:00 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-06 17:05:00 -0800
commit10c05c855a1634a60048a52e8d90bc51f187ede7 (patch)
treeb65a9d3b2f2213503e3f143b18af6ebd831bc554 /system/libraries/Database_Mysql.php
parent058a84ed76df96aeb6ec082d16fe0d8f317faac2 (diff)
parentded8fc593cccaf66236fb271a6d3f962d8c4b337 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'system/libraries/Database_Mysql.php')
-rw-r--r--system/libraries/Database_Mysql.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/libraries/Database_Mysql.php b/system/libraries/Database_Mysql.php
index a5775037..a325cbcc 100644
--- a/system/libraries/Database_Mysql.php
+++ b/system/libraries/Database_Mysql.php
@@ -2,8 +2,6 @@
/**
* MySQL database connection.
*
- * $Id: Database_Mysql.php 4712 2009-12-10 21:47:09Z cbandy $
- *
* @package Kohana
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
@@ -216,7 +214,7 @@ class Database_Mysql_Core extends Database {
$prefix = strlen($this->table_prefix());
$tables = array();
- foreach ($this->query('SHOW TABLES FROM '.$this->escape($this->config['connection']['database']).' LIKE '.$this->quote($this->table_prefix().'%'))->as_array() as $row)
+ foreach ($this->query('SHOW TABLES LIKE '.$this->quote($this->table_prefix().'%'))->as_array() as $row)
{
// The value is the table name
$tables[] = substr(current($row), $prefix);