diff --git a/docs/appendices/0.30.0-migration-guide.md b/docs/appendices/0.30.0-migration-guide.md index a4d14d6ff..c5f7df176 100644 --- a/docs/appendices/0.30.0-migration-guide.md +++ b/docs/appendices/0.30.0-migration-guide.md @@ -15,10 +15,13 @@ - `apps#apps_destroy()` is removed in favor of `plugn trigger app-destroy`. - `apps#apps_exists()` is removed in favor of `plugn trigger app-exists`. - `apps#apps_maybe_create()` is removed in favor of `plugn trigger app-maybe-create`. -- The following common shell functions have been removed. +- The following common shell functions have been removed: - `common#is_container_running()` (deprecated since 0.12.6) is removed in favor of `common#is_container_status()`. - `common#is_app_running()` (deprecated since 0.22.0) is removed in favor of `ps#fn-ps-is-app-running()`. - The global `--rm-container` and `--rm` flags - deprecated since 0.25.0 - have been removed. -- The following git shell functions hve been removed. +- The following git shell functions have been removed: - `git#use_git_worktree()` (deprecated since 0.23.7) has been removed. There is no alternative as the function has been made internal. - `git#git_deploy_branch()`(deprecated since 0.21.0) has been removed in favor of `plugn trigger git-deploy-branch`. +- The following deprecated nginx commands have been removed: + - `nginx:show-conf` (deprecated since since 0.20.0) has been removed in favor of `nginx:show-config` + - `nginx:validate` (deprecated since since 0.20.0) has been removed in favor of `nginx:validate-config` diff --git a/plugins/nginx-vhosts/command-functions b/plugins/nginx-vhosts/command-functions index 215aaccc1..78ab2c6e9 100755 --- a/plugins/nginx-vhosts/command-functions +++ b/plugins/nginx-vhosts/command-functions @@ -94,12 +94,7 @@ cmd-nginx-report-single() { cmd-nginx-show-config() { declare desc="display app nginx config" declare cmd="nginx:show-config" - declare deprecated=true [[ "$1" == "$cmd" ]] && shift 1 - if [[ "$1" == "nginx:show-conf" ]]; then - dokku_log_warn "Deprecated: Please use nginx:show-config" - shift 1 - fi declare APP="$1" verify_app_name "$APP" @@ -133,12 +128,7 @@ cmd-nginx-stop() { cmd-nginx-validate-config() { declare desc="validates and optionally cleans up invalid nginx configurations" declare cmd="nginx:validate-config" - declare deprecated=true [[ "$1" == "$cmd" ]] && shift 1 - if [[ "$1" == "nginx:validate" ]]; then - dokku_log_warn "Deprecated: Please use nginx:validate-config" - shift 1 - fi declare APP="$1" FLAG="$2" validate_nginx "$APP" "$FLAG"