Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -820,11 +820,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Folder tmp = Folder.New(myParent, myConnection, name, title, shortName, myFormat, manualOrder, config, dts, usrID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Folder tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -853,11 +849,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Folder tmp = Folder.New(myParent, myConnection, name, title, shortName, myFormat, manualOrder, config);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Folder 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