public synchronized static void deletePoll(String id, String mail) {
		try {

			XStream xstream = new XStream(new DomDriver());

			File remFile = new File((String) Server.prop.get("pollFilePath"));
			Polls[] allPolls = (Polls[]) xstream.fromXML(remFile);

			List<Polls> retList = new ArrayList<Polls>(Arrays.asList(allPolls));

			for (int i = 0; i < allPolls.length; i++) {
				if (allPolls[i].getId().equals(id) && allPolls[i].getCreator().equals(mail)) {
					retList.remove(i);
				}
			}

			FileOutputStream fos = new FileOutputStream(remFile);

			xstream.toXML(retList.toArray(new Polls[0]), fos);
			fos.close();

		} catch (Exception e) {
		}

	}