Skip to content
Snippets Groups Projects
Commit db7d0734 authored by Armand Bahi's avatar Armand Bahi
Browse files

Merge branch 'bug/33-api-erreur-suppression-utilisateur' into 'master'

Resolve "[API] Erreur suppression utilisateur"

Closes #33

See merge request Development/vitis_apps/application/vmap!30
parents a275f847 f8b96dec
Branches
Tags
No related merge requests found
......@@ -676,7 +676,7 @@ class Users extends Vitis {
if ($this->oConnection->oError == null && in_array("vitis_admin", $this->oConnection->aPrivileges)) {
$aReturn = $this->genericDelete($this->aProperties['schema_framework'], 'v_user', 'user_id');
} else {
$oError = new Error(1, "Invalid token");
$oError = new VitisError(1, "Invalid token");
$aXmlRacineAttribute['status'] = 0;
$aReturn['sMessage'] = $oError->asDocument('', 'vitis', $this->aValues['sEncoding'], True, $aXmlRacineAttribute, $this->aValues['sSourceEncoding'], $this->aValues['output']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment