Removed a duplicated removal code
This commit is contained in:
parent
aa8523e318
commit
c665ece920
@ -313,12 +313,6 @@ if (isset($_POST["confirmesuppression"]) || isset($_POST["confirmesuppression_x"
|
|||||||
$nbuser=$user_studs->RecordCount();
|
$nbuser=$user_studs->RecordCount();
|
||||||
$date=date('H:i:s d/m/Y:');
|
$date=date('H:i:s d/m/Y:');
|
||||||
|
|
||||||
//destruction des données dans la base SQL
|
|
||||||
$sql = 'DELETE FROM sujet_studs WHERE id_sondage = ' . $connect->Param('numsondage') . '; ' .
|
|
||||||
'DELETE FROM user_studs WHERE id_sondage = ' . $connect->Param('numsondage') . '; ' .
|
|
||||||
'DELETE FROM comments WHERE id_sondage = ' . $connect->Param('numsondage') . '; ' .
|
|
||||||
'DELETE FROM sondage WHERE id_sondage = ' . $connect->Param('numsondage') ;
|
|
||||||
|
|
||||||
$connect->StartTrans();
|
$connect->StartTrans();
|
||||||
|
|
||||||
$req = 'DELETE FROM sondage WHERE id_sondage = ' . $connect->Param('numsondage') ;
|
$req = 'DELETE FROM sondage WHERE id_sondage = ' . $connect->Param('numsondage') ;
|
||||||
|
Loading…
Reference in New Issue
Block a user