Commit 26b95607 authored by Zach's avatar Zach
Browse files

Merge pull request #1367 from woogerboy21/add_script_maintcountrycodes

Added lower case country code on correction.
parents bf230f2c 7c81f8a6
...@@ -27,5 +27,10 @@ do ...@@ -27,5 +27,10 @@ do
fi fi
fi fi
done 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 "INVALID: $INVALIDCOUNT"
echo "VALID: $VALIDCOUNT" echo "VALID: $VALIDCOUNT"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment