mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing Cancel() in transaction manager not to rollback immediatly.
--HG-- branch : 1.x
This commit is contained in:
@@ -57,11 +57,6 @@ namespace Orchard.Data {
|
||||
|
||||
void ITransactionManager.Cancel() {
|
||||
Logger.Debug("Transaction cancelled flag set");
|
||||
|
||||
if (_transaction != null && !_transaction.WasRolledBack) {
|
||||
_transaction.Rollback();
|
||||
}
|
||||
|
||||
_cancelled = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user