mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Remove legacy code
This commit is contained in:
parent
87e36e665c
commit
cdcc8dba72
1 changed files with 1 additions and 6 deletions
|
@ -122,13 +122,8 @@ ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --targ
|
|||
for i in 1 2 3 4 5 6 7 8
|
||||
do
|
||||
j=$(ynh_string_random --length=40)
|
||||
if [ "$j" = "" ];
|
||||
then
|
||||
# For obscure reasons, the loop is too fast at execution
|
||||
sleep 1
|
||||
j=$(ynh_string_random --length=40)
|
||||
fi
|
||||
ynh_replace_string --match_string="KEY$i" --replace_string="$j" --target_file=$final_path/wp-config.php
|
||||
sleep 0.5
|
||||
done
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue