9833e4db by Kevin Burton

updated user manager to track the role change

1 parent a123fb2f
......@@ -407,12 +407,15 @@ class AccountValidation extends Common\Validation {
}
public function user_role($val) {
/*
$user = new User\Account($_POST['uid']);
try {
$user->set_role($val);
} catch (Exception $e) {
throw new Exception($e->getMessage());
}
*/
CBV\user_change_role($val, $_POST['uid']);
}
public function password1($val) {
......