We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1a141 commit bdced66Copy full SHA for bdced66
2 files changed
CHANGELOG.md
@@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file.
33
- Roundcube fixes for PHP 7.4 compatibility.
34
- Added delay when entering wrong username/password/2fa
35
- Improved "Forgot password" function prevent brute forcing
36
+- Update Backup counter propperly when v-delete-user-backup ran
37
38
## [1.1.1] - 2020-03-24 - Hotfix
39
### Features
bin/v-delete-user-backup
@@ -47,7 +47,7 @@ sed -i "/BACKUP='$2' /d" $USER_DATA/backup.conf
47
#----------------------------------------------------------#
48
49
# Update counter
50
-U_BACKUPS=$(ls $BACKUP/|grep "^$user."|wc -l)
+U_BACKUPS=$(grep BACKUP $USER_DATA/backup.conf |wc -l)
51
update_user_value "$user" '$U_BACKUPS' "$U_BACKUPS"
52
53
# Logging
0 commit comments