Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3439 Rev 3445
Line 34... Line 34...
34
		$this->bd_del = Config::get('nettoyage.del');
34
		$this->bd_del = Config::get('nettoyage.del');
35
	}
35
	}
Line 36... Line 36...
36
 
36
 
37
	public function executer() {
37
	public function executer() {
38
		$cmd = $this->getParametre('a');
38
		$cmd = $this->getParametre('a');
39
		$requete_colonnes = "SELECT column_name FROM information_schema.columns WHERE table_name = '".$this->bd_cel."cel_obs' AND table_schema='tb_cel';";
39
		$requete_colonnes = "SELECT column_name FROM information_schema.columns WHERE table_name = 'cel_obs' AND table_schema='".$this->bd_cel."';";
40
		$this->colonnes = $this->bdd->recupererTous($requete_colonnes);
40
		$this->colonnes = $this->bdd->recupererTous($requete_colonnes);
41
		try {
41
		try {
42
			switch ($cmd) {
42
			switch ($cmd) {
43
				case 'tout' :
43
				case 'tout' :