dfgsdfs
This commit is contained in:
parent
60cfa5d6c2
commit
321cb62400
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ $userPage->onUserCreation(new UserCreationEvent("test", "test", "test", "test@te
|
||||||
// in mysql, CREATE TABLE commits transactions, so after the database
|
// in mysql, CREATE TABLE commits transactions, so after the database
|
||||||
// upgrade we may or may not be inside a transaction depending on if
|
// upgrade we may or may not be inside a transaction depending on if
|
||||||
// any tables were created.
|
// any tables were created.
|
||||||
if(!$database->is_transaction_open()) {
|
if($database->is_transaction_open()) {
|
||||||
$database->commit();
|
$database->commit();
|
||||||
}
|
}
|
||||||
$_tracer->end();
|
$_tracer->end();
|
||||||
|
|
Reference in a new issue