Suppression debug
This commit is contained in:
parent
51595ef305
commit
fc149d5e25
@ -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';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user