Minor changes
[RRRRHHHH_Code] / ruralHouses / src / businessLogic / AccountManager.java
index ab418c9..705ef27 100644 (file)
@@ -44,9 +44,9 @@ public class AccountManager extends UnicastRemoteObject implements AccountInterf
        }
        
        public boolean removeAccount(int index)throws RemoteException {
-               OwnerManager own = new OwnerManager();
+               AdminManager adm = new AdminManager();
                try {
-                       if(this.dbMngr.removeAccount(own.getOwners().get(index)))
+                       if(this.dbMngr.removeAccount(adm.getAllOwners().get(index)))
                                return true;
                } catch (Exception e) {
                        e.printStackTrace();