mirror of
https://codeberg.org/Windfluechter/cleanup-friendica.git
synced 2025-03-02 13:11:02 +01:00
Update cleanup_friendica.sh
changed bin/console user delete <user> -q to -y option as described in https://github.com/friendica/friendica/issues/8846
This commit is contained in:
parent
04b2a140c6
commit
ce5b75635c
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ for username in $( ${friendicapath}/bin/console user list active -c 10000 | grep
|
|||
done
|
||||
if [ ${pcheck} -eq 0 ]; then
|
||||
echo "Delete unconfirmed user ${username}"
|
||||
${friendicapath}/bin/console user delete "${username}" -q
|
||||
${friendicapath}/bin/console user delete "${username}" -y
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
@ -114,7 +114,7 @@ for u in $( ${friendicapath}/bin/console user list active -c 10000 | grep -v '.*
|
|||
done
|
||||
if [ ${pcheck} -eq 0 ]; then
|
||||
echo "Delete user ${username}"
|
||||
${friendicapath}/bin/console user delete "${username}" -q
|
||||
${friendicapath}/bin/console user delete "${username}" -y
|
||||
notifyUserDeletion
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue