Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -432,11 +432,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Grid tmp = Grid.New(myContent, data, config, dts, userID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Grid tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -460,11 +456,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Grid tmp = Grid.New(myContent, data, config);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Grid 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