summaryrefslogtreecommitdiff
path: root/setup/upgrade/0.9.9.2/lowercase_emails.php
diff options
context:
space:
mode:
Diffstat (limited to 'setup/upgrade/0.9.9.2/lowercase_emails.php')
-rw-r--r--setup/upgrade/0.9.9.2/lowercase_emails.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup/upgrade/0.9.9.2/lowercase_emails.php b/setup/upgrade/0.9.9.2/lowercase_emails.php
new file mode 100644
index 0000000..24fd28e
--- /dev/null
+++ b/setup/upgrade/0.9.9.2/lowercase_emails.php
@@ -0,0 +1,6 @@
+<?php
+
+$db->query('UPDATE {users} SET email_address = LOWER(email_address), jabber_id = LOWER(jabber_id)');
+
+?>
+