From a74fd27e5f238f91f39be14056692945eecedabc Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 6 Jan 2010 11:35:01 -0800 Subject: Updated Kohana to r4737 --- system/libraries/Database_Mysql.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'system/libraries/Database_Mysql.php') 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); -- cgit v1.2.3