Using:
$db = JFactory::getDbo();
$db->setDebug(0);
in an installation script produces:
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::setDebug()
Looking at:
libraries/joomla/database/driver.php
setDebug isn't deprecated so should still be supported.
Also same for getErrorMsg().
Labels |
Added:
?
|
Title |
|
Category | ⇒ | Administration |
Title |
|
Title |
|
getErrorMsg
is already deprecated https://github.com/joomla/joomla-cms/blob/3.8.2/libraries/joomla/database/database.php#L60
I've now deprecated the setDebug
function with 3e4966f in the 3.9 branch
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-11-18 14:47:53 |
Closed_By | ⇒ | wilsonge |
Needs to be deprecated in 3.x. The Framework removed the concept of a debug mode in the database drivers in the major version bump.