6
0
Fork 0
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:
ingoj 2020-07-11 21:39:54 +02:00
parent 04b2a140c6
commit ce5b75635c

View file

@ -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