Subversion Repositories eFlore/Applications.cel

Rev

Rev 3584 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3584 Rev 3585
Line 51... Line 51...
51
		$requete_maj_mail_img = "UPDATE ".$this->table_image." SET user_email = ".Cel::db()->proteger($nouveau_mail)." ".
51
		$requete_maj_mail_img = "UPDATE ".$this->table_image." SET user_email = ".Cel::db()->proteger($nouveau_mail)." ".
52
			"WHERE user_email = ".Cel::db()->proteger($ancien_mail);
52
			"WHERE user_email = ".Cel::db()->proteger($ancien_mail);
Line 53... Line 53...
53
 
53
 
Line 54... Line -...
54
		Cel::db()->executer($requete_maj_mail_img);
-
 
55
 
-
 
56
		$requete_maj_ordre_img = "SELECT @ordval := 0; ".
-
 
57
			"UPDATE ".$this->table_image." ".
-
 
58
			"SET ordre = (SELECT @ordval := @ordval + 1) ".
-
 
59
			"WHERE user_email = ".Cel::db()->proteger($nouveau_mail)." ".
-
 
60
			"ORDER BY date_creation ";
-
 
61
 
-
 
62
		Cel::db()->executerRequete($requete_maj_ordre_img);
54
		Cel::db()->executer($requete_maj_mail_img);
63
 
55
 
64
		$this->envoyer("OK");
56
		$this->envoyer("OK");
65
		return;
57
		return;
66
	}
58
	}