Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -619,11 +619,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Assignment tmp = Assignment.New(myGroup, myRole, myFolder, startDate, endDate, dts, usrID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Assignment tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -648,11 +644,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Assignment tmp = Assignment.New(myGroup, myRole, myFolder, endDate);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Assignment 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