From 3197d05c7a3c4363102117b6f3f99dc8c67c40a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 20 Jul 2024 16:00:54 +0200 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 6 ------ 1 file changed, 6 deletions(-) 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 #=================================================