aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-22 01:46:52 -0700
committerfriendica <info@friendica.com>2012-03-22 01:46:52 -0700
commitebdf0ee99e517c6718099fda2f1b2288c42e66da (patch)
tree274a80868cf7a150ca701bbfc7ddb98152e2e42d /update.php
parent576eb6cc389d54c29b29b97d3c6d160e61bbf6ca (diff)
downloadvolse-hubzilla-ebdf0ee99e517c6718099fda2f1b2288c42e66da.tar.gz
volse-hubzilla-ebdf0ee99e517c6718099fda2f1b2288c42e66da.tar.bz2
volse-hubzilla-ebdf0ee99e517c6718099fda2f1b2288c42e66da.zip
prevent re-registrations using a deleted username - not an issue with Friendica but could create a serious privacy issue with federated platforms
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/update.php b/update.php
index 6a685a6ff..a69742a94 100755
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1132 );
+define( 'UPDATE_VERSION' , 1133 );
/**
*
@@ -1127,3 +1127,12 @@ function update_1131() {
}
+function update_1132() {
+ q("CREATE TABLE IF NOT EXISTS `userd` (
+`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+`username` CHAR( 255 ) NOT NULL,
+INDEX ( `username` )
+) ENGINE = MYISAM ");
+
+}
+