/trunk/applications/saisie/bibliotheque/dao/StationDao.php |
---|
71,25 → 71,5 |
return false; |
} |
public function supprimerStation($id_station) { |
$donnees['id_station'] = $id_station; |
$donnees['id_participant'] = AppControleur::getIdUtilisateur(); |
if (is_numeric($id_station)) { |
$url = $this->url_jrest.self::SERVICE_STATION."/".AppControleur::getIdUtilisateur()."/".$id_station; |
$json = $this->envoyerRequeteSuppression($url, $donnees); |
$donnees_retour = json_decode($json, true); |
if($donnees_retour['reponse'] == 'OK') { |
return true; |
} |
} |
return false; |
} |
} |
?> |