Merge pull request #663 from fabrixxm/moveme
uimport: remove db scheme version check
This commit is contained in:
commit
d905f0a3e3
1 changed files with 3 additions and 1 deletions
|
@ -101,11 +101,13 @@ function import_account(&$a, $file) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
// this is not required as we remove columns in json not in current db schema
|
||||||
if ($account['schema'] != DB_UPDATE_VERSION) {
|
if ($account['schema'] != DB_UPDATE_VERSION) {
|
||||||
notice(t("Error! I can't import this file: DB schema version is not compatible."));
|
notice(t("Error! I can't import this file: DB schema version is not compatible."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// check for username
|
// check for username
|
||||||
$r = q("SELECT uid FROM user WHERE nickname='%s'", $account['user']['nickname']);
|
$r = q("SELECT uid FROM user WHERE nickname='%s'", $account['user']['nickname']);
|
||||||
|
|
Loading…
Reference in a new issue