1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

Update _common.sh

This commit is contained in:
Mickael-Martin 2019-03-01 11:12:47 +01:00
parent f08b962df8
commit c72d148043

View file

@ -32,7 +32,7 @@ disable_guest_user(){
#===================GET ADMIN DEFAULT USER STATE============== #===================GET ADMIN DEFAULT USER STATE==============
#return 0 if enable, else 1 #return 0 if enable, else 1
get_state_admin_user(){ get_state_admin_user(){
return $($mysqlconn -BN -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9") return $mysqlconn -BN -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9"
} }
#================ DISABLE DEFAULT ADMIN USER =================== #================ DISABLE DEFAULT ADMIN USER ===================