Skip to content
Snippets Groups Projects
Commit e29bee84 authored by Rafi Zereselasie (raz070)'s avatar Rafi Zereselasie (raz070)
Browse files

Removed unnecessary functions.

parent 7bfd0204
No related branches found
No related tags found
No related merge requests found
......@@ -111,16 +111,6 @@ public class Model {
notifySubscribers();
}
// Have this just in case we need it.
void updateAllShifts(){
writer.println("allShifts");
}
// Have this just in case we need it.
void updateAllEmployees(){
writer.println("allEmployees");
}
/*
Name: addEmployee
Parameters:
......@@ -136,7 +126,6 @@ public class Model {
else {
writer.println("addEmployee/" + firstName + "/" + lastName + "/" + false + "/" + "empty" + "/" + "empty" + "/" + 0.0f);
updateAllEmployees();
return "Employee added";
}
}
......@@ -184,7 +173,6 @@ public class Model {
}
if (this.employees.containsKey(Integer.parseInt(employeeID))) {
writer.println("removeEmployee/" + employeeID);
updateAllEmployees();
return "Employee removed";
}
return "Employee does not exist";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment