1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

column nickname became name

This commit is contained in:
Krakinou 2023-08-05 14:34:54 +02:00
parent 09bbc720c5
commit 24b0704cbb

View file

@ -20,9 +20,11 @@ del_id() {
} }
user_id=$(sqlite3 $install_dir/app.db "SELECT id from user WHERE nickname='$username'") user_id=$(sqlite3 $install_dir/app.db "SELECT id from user WHERE name='$username'")
shelf_id=$(sqlite3 $install_dir/app.db "SELECT id from shelf WHERE user_id='$user_id'") shelf_id=$(sqlite3 $install_dir/app.db "SELECT id from shelf WHERE user_id='$user_id'")
ynh_print_info --message="Suppression de l'utilisateur dans calibreweb"
#Delete all entry with dependencies for user #Delete all entry with dependencies for user
#pas de check sur l'existence de l'utilisateur car fonctionne sans #pas de check sur l'existence de l'utilisateur car fonctionne sans
for i in $del_tables_shelf for i in $del_tables_shelf