mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
Merge pull request #1367 from woogerboy21/add_script_maintcountrycodes
Added lower case country code on correction.
This commit is contained in:
commit
26b9560753
1 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue