modify plugin name
This commit is contained in:
@@ -57,7 +57,10 @@ class Connection extends Component
|
|||||||
*/
|
*/
|
||||||
public function beginTransaction($coroutineName)
|
public function beginTransaction($coroutineName)
|
||||||
{
|
{
|
||||||
$connection = Context::getContext($coroutineName);
|
$connection = Context::getContext($coroutineName['cds']);
|
||||||
|
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