From c45ed85c5cde4ff07e86e25319d82f33d8cdf4f7 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 13 Feb 2019 10:31:28 -0800 Subject: [PATCH] db_Fetch() e_LEGACY_MODE permanently removed. Old plugins should use $sql->fetch('both'); if this is still required. --- e107_handlers/mysql_class.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/e107_handlers/mysql_class.php b/e107_handlers/mysql_class.php index 229dac610..36058a063 100644 --- a/e107_handlers/mysql_class.php +++ b/e107_handlers/mysql_class.php @@ -1533,10 +1533,6 @@ class e_db_mysql */ function fetch($type = null) { - if(defined('e_LEGACY_MODE') && !is_int($type)) - { - $type='both'; - } if(defined('MYSQL_ASSOC')) { @@ -1555,7 +1551,6 @@ class e_db_mysql default: case 'assoc': case 1; //: // 1 - $type = ($this->pdo) ? PDO::FETCH_ASSOC : MYSQL_ASSOC; break; }