modify plugin name
This commit is contained in:
@@ -57,10 +57,7 @@ class Connection extends Component
|
|||||||
*/
|
*/
|
||||||
public function beginTransaction($coroutineName)
|
public function beginTransaction($coroutineName)
|
||||||
{
|
{
|
||||||
$connection = Context::getContext($coroutineName['cds']);
|
$connection = $this->get($coroutineName);
|
||||||
if (is_null($connection)) {
|
|
||||||
$connection = $this->get($coroutineName);
|
|
||||||
}
|
|
||||||
if ($connection instanceof PDO) {
|
if ($connection instanceof PDO) {
|
||||||
$connection->beginTransaction();
|
$connection->beginTransaction();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user