Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -734,11 +734,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
User tmp = User.New(userID, firstName, middleName, lastName, suffix, courtesyTitle, phoneNumber, cFGName, userLogin, userName, config, dts, usrID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
User tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -769,11 +765,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
User tmp = User.New(firstName, middleName, lastName, suffix, courtesyTitle, phoneNumber, cFGName, userLogin, userName, config);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
User 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