Skip to content

Commit

Permalink
Merge pull request #1160 from Menrath/patch-2
Browse files Browse the repository at this point in the history
Fix moodle coding style in example for delegated transactions
  • Loading branch information
andrewnicols authored Oct 16, 2024
2 parents 1d7554a + a6e29fa commit f95f336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apis/core/dml/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ try {
// Assuming the both inserts work, we get to the following line.
$transaction->allow_commit();

} catch(Exception $e) {
} catch (Exception $e) {
$transaction->rollback($e);
}
```
Expand Down

0 comments on commit f95f336

Please sign in to comment.