mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Removed bad e_LEGACY_MODE implementation
e_LEGACY_MODE caused the query results from e_db_pdo and e_db_mysql to return different styles (MYSQL_BOTH and MYSQL_ASSOC, respectively). To resolve this inconsistency, e_LEGACY_MODE has been removed from the e107 core.
This commit is contained in:
@@ -38,11 +38,6 @@
|
||||
|
||||
public function db_Fetch($type = null)
|
||||
{
|
||||
if (defined('e_LEGACY_MODE') && !is_int($type))
|
||||
{
|
||||
return $this->fetch('both');
|
||||
}
|
||||
|
||||
return $this->fetch($type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user