aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1115.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Update/_1115.php')
-rw-r--r--Zotlabs/Update/_1115.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1115.php b/Zotlabs/Update/_1115.php
new file mode 100644
index 000000000..4edf63b85
--- /dev/null
+++ b/Zotlabs/Update/_1115.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1115 {
+function run() {
+
+ // Introducing email verification. Mark all existing accounts as verified or they
+ // won't be able to login.
+
+ $r = q("update account set account_flags = (account_flags ^ 1) where (account_flags & 1) ");
+ return UPDATE_SUCCESS;
+}
+
+
+} \ No newline at end of file