Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -675,11 +675,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
DocVersion tmp = DocVersion.New(myFolder, versionType, name, title, myItem, myFormat, config, dts, userID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
DocVersion tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -706,11 +702,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
DocVersion tmp = DocVersion.New(myFolder, name, title, myItem, myFormat, config);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
DocVersion 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