1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

B #5014: Remove user from admins

This commit is contained in:
Ruben S. Montero 2017-02-09 17:00:37 +01:00
parent 814fe577c7
commit 8e20605ef2

View File

@ -72,6 +72,13 @@ public:
*/
int del_user(int id)
{
if (admins.contains(id))
{
string error;
del_admin(id, error);
}
return users.del(id);
}