Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -594,11 +594,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Group tmp = Group.New(groupName, groupType, config, dts, usrID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Group tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -622,11 +618,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Group tmp = Group.New(groupName, groupType, config);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Group 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