1
1
Fork 0

uimport remove db scheme version check

This commit is contained in:
Fabrixxm 2013-04-08 09:03:31 -04:00
parent 8b4fa33c5e
commit 659d0cc1b8

View file

@ -101,11 +101,13 @@ function import_account(&$a, $file) {
return;
}
/*
// this is not required as we remove columns in json not in current db schema
if ($account['schema'] != DB_UPDATE_VERSION) {
notice(t("Error! I can't import this file: DB schema version is not compatible."));
return;
}
*/
// check for username
$r = q("SELECT uid FROM user WHERE nickname='%s'", $account['user']['nickname']);