Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 292 | Rev 424 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 292 Rev 351
Line 88... Line 88...
88
		$contenuSql = $this->recupererContenu($fichierDump);
88
		$contenuSql = $this->recupererContenu($fichierDump);
89
		$this->executerScripSql($contenuSql);
89
		$this->executerScripSql($contenuSql);
90
	}
90
	}
Line 91... Line 91...
91
 
91
 
92
	private function supprimerTous() {
92
	private function supprimerTous() {
93
		$requete = "DROP TABLE coste_meta, ".
93
		$requete = "DROP TABLE IF EXISTS coste_meta, ".
94
			"	coste_acls, coste_links, coste_pages, coste_referrers, coste_triples, coste_users, ".
94
			"	coste_acls, coste_links, coste_pages, coste_referrers, coste_triples, coste_users, ".
95
			"	coste_v1_00 ";
95
			"	coste_v1_00 ";
96
		$this->getBdd()->requeter($requete);
96
		$this->getBdd()->requeter($requete);
Line 97... Line 97...
97
	}
97
	}
98
 
98
 
99
	private function nettoyerVersion1() {
99
	private function nettoyerVersion1() {
100
		$requete = "DROP TABLE coste_correspondance_bdnff, coste_images_auteur_correspondance_bdnff, ".
100
		$requete = "DROP TABLE IF EXISTS coste_correspondance_bdnff, coste_images_auteur_correspondance_bdnff, ".
101
			"	coste_images_correspondance_bdnff, coste_index, coste_index_general";
101
			"	coste_images_correspondance_bdnff, coste_index, coste_index_general";
Line 102... Line 102...
102
		$this->getBdd()->requeter($requete);
102
		$this->getBdd()->requeter($requete);