mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
db_Fetch() e_LEGACY_MODE permanently removed. Old plugins should use $sql->fetch('both'); if this is still required.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user