mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
refactoring: log_event(), is_format_valid()
This commit is contained in:
parent
325ca65f32
commit
a61a6e979e
52 changed files with 582 additions and 1170 deletions
|
@ -35,11 +35,11 @@ is_object_unsuspended 'user' 'USER' "$user"
|
|||
#----------------------------------------------------------#
|
||||
|
||||
case $type in
|
||||
WEB) is_web_template_valid;
|
||||
WEB) is_web_template_valid $template;
|
||||
update_user_value "$user" '$WEB_TEMPLATE' "$template";;
|
||||
PROXY) is_proxy_template_valid $template;
|
||||
update_user_value "$user" '$PROXY_TEMPLATE' "$template";;
|
||||
DNS) is_dns_template_valid;
|
||||
DNS) is_dns_template_valid $template;
|
||||
update_user_value "$user" '$DNS_TEMPLATE' "$template";;
|
||||
*) check_args '1' '0' 'USER TYPE TEMPLATE'
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue