Remove old ref

This commit is contained in:
Michael RICOIS 2017-01-11 16:16:54 +01:00
parent 25db7c39a3
commit fe28de01bc

View File

@ -1918,17 +1918,8 @@ class Gestion extends Scores_Ws_Server
*/
protected function _deleteAccess($toDelete, $idClient, $service=null)
{
$iDbCrm = new Metier_Util_Db();
$strLogin = '';
//Modification sur les droits des services
/*if ( count(toDelete)>0 ) {
foreach ($toDelete as $droit) {
$query = "UPDATE clients_services SET droits=TRIM(REPLACE(droits, ' $droit ', ' ')) WHERE idClient='$idClient'";
$iDbCrm->query($query);
}
}*/
if (null !== $service) {
//Récupération des logins utilisateurs du service
$logins = $this->_serviceLogins($idClient, $service);