Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 32ba0e ... vs 1be833 ... for ruralHouses/src/businessLogic/AccountManager.java

Diff revisions: vs.
  @@ -44,9 +44,9 @@
44 44 }
45 45
46 46 public boolean removeAccount(int index)throws RemoteException {
47 - OwnerManager own = new OwnerManager();
47 + AdminManager adm = new AdminManager();
48 48 try {
49 - if(this.dbMngr.removeAccount(own.getOwners().get(index)))
49 + if(this.dbMngr.removeAccount(adm.getAllOwners().get(index)))
50 50 return true;
51 51 } catch (Exception e) {
52 52 e.printStackTrace();