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:
parent
09bbc720c5
commit
24b0704cbb
1 changed files with 3 additions and 1 deletions
|
@ -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'")
|
||||
|
||||
ynh_print_info --message="Suppression de l'utilisateur dans calibreweb"
|
||||
|
||||
#Delete all entry with dependencies for user
|
||||
#pas de check sur l'existence de l'utilisateur car fonctionne sans
|
||||
for i in $del_tables_shelf
|
||||
|
|
Loading…
Add table
Reference in a new issue