Oups définition database
This commit is contained in:
parent
f802ce0381
commit
b3e23b640f
@ -49,7 +49,7 @@ class Gestion extends Scores_Ws_Server
|
||||
if ($this->User->login!=$login && in_array($this->User->profil, array('Administrateur', 'SuperAdministrateur')))
|
||||
{
|
||||
/** Un administrateur veut il des infos sur un login ? **/
|
||||
$iDbCrm = new WDB('sdv1');
|
||||
$iDbCrm = new WDB();
|
||||
$rep = $iDbCrm->select(
|
||||
'sdv1.utilisateurs u, sdv1.clients c',
|
||||
'u.login, u.id, u.email, u.password, u.idClient, u.typeCompte, u.actif, u.filtre_ip, u.civilite, u.nom, u.prenom, u.tel, u.fax, u.mobile, u.profil, u.raisonSociale, u.siret, u.adrNum, u.adrIndRep, u.adrTypeVoie, u.adrLibVoie, u.adrCp, u.adrVille, u.adrComp, u.pref, u.profil, u.dateInscription, u.dateValidation, u.nombreConnexions, u.dateDerniereConnexion, u.droits, u.referenceParDefaut, u.nbReponses, u.lang, u.formatMail, u.dateDebutCompte, u.dateFinCompte, u.maxFicheId, c.droits AS droitsClients, c.test AS clientTest, c.timeout, c.typeScore AS typeScore',
|
||||
@ -167,7 +167,7 @@ class Gestion extends Scores_Ws_Server
|
||||
$result->maxFicheId = $this->User->maxFicheId;
|
||||
$result->typeScore = $this->User->typeScore;
|
||||
$result->acceptationCGU = $this->User->acceptationCGU;
|
||||
|
||||
|
||||
// On log l'accès à l'authentification
|
||||
if ( $this->User->clientTest=='Oui' || $this->User->typeCompte=='TEST' ) {
|
||||
$test = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user