Added lower case country code on correction.

This commit is contained in:
woogerboy21 2015-08-11 15:46:59 -04:00
parent f636c0ee19
commit 7c81f8a610

View file

@ -27,5 +27,10 @@ do
fi
fi
done
if [ "$MODE" == "correct" ]; then
mysql --defaults-file=$SQLCONFFILE -h localhost -e "update ""$DBNAME"".""$TABLEPREFIX""_users set country = lower(country);"
fi
echo "INVALID: $INVALIDCOUNT"
echo "VALID: $VALIDCOUNT"