Skip to content

Commit 0193317

Browse files
committed
fix bug
1 parent 96aa4ec commit 0193317

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Transaction.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Transaction extends \yii\base\BaseObject
4141
*/
4242
protected function yiiDebug($message, $category = 'mongodb'){
4343
if($this->clientSession->db->enableLogging)
44-
$this->yiiDebug($message,$category);
44+
yii::debug($message,$category);
4545
}
4646

4747
/**
@@ -51,7 +51,7 @@ protected function yiiDebug($message, $category = 'mongodb'){
5151
*/
5252
protected function yiiBeginProfile($token, $category = 'mongodb'){
5353
if($this->clientSession->db->enableProfiling)
54-
$this->yiiBeginProfile($token,$category);
54+
yii::beginProfile($token,$category);
5555
}
5656

5757
/**
@@ -61,7 +61,7 @@ protected function yiiBeginProfile($token, $category = 'mongodb'){
6161
*/
6262
protected function yiiEndProfile($token, $category = 'mongodb'){
6363
if($this->clientSession->db->enableProfiling)
64-
$this->yiiEndProfile($token,$category);
64+
yii::endProfile($token,$category);
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)