Move the success dispatch outside the DB transaction closure to ensure it only fires after the transaction has successfully committed. Use reference variable to track changes across the closure boundary. |
||
|---|---|---|
| .. | ||
| Environment | ||
| Project | ||
| Team | ||
| Index.php | ||
Move the success dispatch outside the DB transaction closure to ensure it only fires after the transaction has successfully committed. Use reference variable to track changes across the closure boundary. |
||
|---|---|---|
| .. | ||
| Environment | ||
| Project | ||
| Team | ||
| Index.php | ||