Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -494,11 +494,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
GridAudit tmp = GridAudit.New(contentID, data, config, dts, userID, deleteStatus, contentAuditID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
GridAudit tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -525,11 +521,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
GridAudit tmp = GridAudit.New(contentID, data, config, dts, userID, deleteStatus);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
GridAudit tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
|
Reference in New Issue
Block a user