diff --git a/scripts/_common.sh b/scripts/_common.sh index 90726c2..89026c8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -12,12 +12,6 @@ php_exec() { php${phpversion} "$install_dir/bin/console" --no-interaction --env=prod "$@") } -# Define a function to execute commands with `php_exec` -php_exec() { - (cd "$install_dir" && ynh_exec_as "$app" \ - php${phpversion} "$install_dir/bin/console" --no-interaction --env=prod "$@") -} - #================================================= # PERSONAL HELPERS #=================================================