1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Check for e_LEGACY_MODE moved to db legacy class.

This commit is contained in:
Cameron 2019-02-12 10:07:00 -08:00
parent f5f2212b54
commit a8d1541b9d
2 changed files with 5 additions and 6 deletions

View File

@ -38,6 +38,11 @@
public function db_Fetch($type = null)
{
if (defined('e_LEGACY_MODE') && !is_int($type))
{
return $this->fetch('both');
}
return $this->fetch($type);
}

View File

@ -1262,12 +1262,6 @@ class e_db_pdo implements e_db
*/
function fetch($type = null)
{
if(defined('e_LEGACY_MODE') && !is_int($type))
{
$type='both';
}
switch ($type)
{
case 'both':