Suppression debug

This commit is contained in:
Michael RICOIS 2012-07-02 14:17:20 +00:00
parent 51595ef305
commit fc149d5e25

View File

@ -157,7 +157,7 @@ class WsScore
$pricing = $iDbCrm->select('clientsTarif', 'login, service',
"log='".$service."' AND idClient=" . $this->tabInfoUser['idClient'] .
" AND (service='".$this->tabInfoUser['service']."' OR service='') AND (login='".$this->tabInfoUser['login']."' OR login='') ".
" ORDER BY service, login DESC LIMIT 1", true);
" ORDER BY service, login DESC LIMIT 1");
if ( count($pricing)>0 ) {
//Update count access to a service
@ -361,7 +361,6 @@ class WsScore
*/
if ($tabRep['accesWS']==1) {
if ( in_array($ipConnexion, $this->listApplicationIp) && $tabRep['idClient']!=1 ) {
file_put_contents('test.log', 'ERREUR', FILE_APPEND);
return '0901';
}
}