mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Fixes #16192: yii\db\Command::logQuery() is now protected
This commit is contained in:
committed by
Alexander Makarov
parent
292a545642
commit
6590feef0d
@ -1093,7 +1093,7 @@ class Command extends Component
|
||||
* @return array array of two elements, the first is boolean of whether profiling is enabled or not.
|
||||
* The second is the rawSql if it has been created.
|
||||
*/
|
||||
private function logQuery($category)
|
||||
protected function logQuery($category)
|
||||
{
|
||||
if ($this->db->enableLogging) {
|
||||
$rawSql = $this->getRawSql();
|
||||
|
||||
Reference in New Issue
Block a user