упразднение старого объекта аккаунта
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package _VisualDVM;
|
||||
import Common.CommonConstants;
|
||||
import _VisualDVM.ComponentsServer.UserAccount.UserAccount;
|
||||
import _VisualDVM.GlobalData.Account.AccountRole;
|
||||
import _VisualDVM.ComponentsServer.UserAccount.AccountRole;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
import com.google.gson.annotations.Expose;
|
||||
|
||||
@@ -13,8 +13,6 @@ public class NormalProperties extends VisualDVMProperties {
|
||||
public String Email = "";
|
||||
@Expose
|
||||
public String Name = "";
|
||||
@Expose
|
||||
public AccountRole Role = AccountRole.Undefined;
|
||||
//--->
|
||||
@Expose
|
||||
public String Workspace = "";
|
||||
@@ -173,7 +171,6 @@ public class NormalProperties extends VisualDVMProperties {
|
||||
public void SynchronizeAccount(UserAccount account){
|
||||
Name = account.name;
|
||||
Email = account.email;
|
||||
Role = account.role;
|
||||
Update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user