public function deleteDepartment($id) { $this->authority(20); $department_table = new DepartmentTable(); $department_table->delete($id); $user_table = new UserTable(); $user_table->clear_department($id); Util::go_back(); }