From ab2e6eec0ecd074ac4ae83c1ba055821159fc9fd Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 11 Jun 2020 13:36:03 +0200 Subject: [PATCH] ynh_delete_file_checksum is now an official helper since version '3.3.1' --- scripts/_common.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 1829630..b11e7c7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -23,17 +23,6 @@ extra_php_dependencies="php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-mysql ph # FUTURE OFFICIAL HELPERS #================================================= -# Delete a file checksum from the app settings -# -# $app should be defined when calling this helper -# -# usage: ynh_remove_file_checksum file -# | arg: file - The file for which the checksum will be deleted -ynh_delete_file_checksum () { - local checksum_setting_name=checksum_${1//[\/ ]/_} # Replace all '/' and ' ' by '_' - ynh_app_setting_delete $app $checksum_setting_name -} - # Execute a command as another user # usage: exec_as USER COMMAND [ARG ...] exec_as() {