diff --git a/hooks/post_app_addaccess b/hooks/post_app_addaccess index 460cc0f..a428267 100755 --- a/hooks/post_app_addaccess +++ b/hooks/post_app_addaccess @@ -7,10 +7,6 @@ app_path=/var/www/freshrss if [[ "freshrss" = "$app" ]]; then - db_user=freshrss - db_name=freshrss - db_pwd=$(sudo yunohost app setting freshrss mysqlpwd) - for myuser in $(echo "$new_users" | sed "s/,/ /g") do user_token=$(ynh_string_random) diff --git a/hooks/post_user_create b/hooks/post_user_create index 3241fa5..864e0e7 100755 --- a/hooks/post_user_create +++ b/hooks/post_user_create @@ -1,8 +1,4 @@ #!/bin/bash - -db_user=freshrss -db_name=freshrss -db_pwd=$(sudo yunohost app setting freshrss mysqlpwd) app_path=/var/www/freshrss myuser=$1