prevent re-registrations using a deleted username - not an issue with Friendica but could create a serious privacy issue with federated platforms

This commit is contained in:
friendica
2012-03-22 01:46:52 -07:00
parent 576eb6cc38
commit ebdf0ee99e
6 changed files with 38 additions and 2 deletions

View File

@@ -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 ");
}