Merge pull request #1367 from woogerboy21/add_script_maintcountrycodes

Added lower case country code on correction.
This commit is contained in:
Zach 2015-08-11 16:05:56 -04:00
commit 26b9560753

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"