check_result function

This commit is contained in:
Serghey Rodin 2015-10-28 16:34:41 +02:00
commit 91a804c1c8
66 changed files with 204 additions and 404 deletions

View file

@ -46,14 +46,6 @@ update_object_value 'dns' 'DOMAIN' "$domain" '$SUSPENDED' 'yes'
sed -i "s/SUSPENDED='no'/SUSPENDED='yes'/g" $USER_DATA/dns/$domain.conf
increase_user_value "$user" '$SUSPENDED_DNS'
# Restart named
#if [ "$restart" != 'no' ]; then
# $BIN/v-restart-dns
# if [ $? -ne 0 ]; then
# exit $E_RESTART
# fi
#fi
# Logging
log_event "$OK" "$EVENT"