You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered an unused $USER variable and unnecessary transaction usage. Transactions are only necessary when processing insert/update operations, not for data reads. In any case, transactions should be closed with $transaction->allow_commit();
Hello,
I discovered an unused $USER variable and unnecessary transaction usage. Transactions are only necessary when processing insert/update operations, not for data reads. In any case, transactions should be closed with $transaction->allow_commit();
https://moodledev.io/docs/4.4/apis/core/dml/delegated-transactions
Thank you
The text was updated successfully, but these errors were encountered: