From: Fabrixxm Date: Mon, 8 Apr 2013 13:03:31 +0000 (-0400) Subject: uimport remove db scheme version check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=659d0cc1b8bbe39fdbce10a0b97d65897a73ad67;p=friendica.git uimport remove db scheme version check --- diff --git a/include/uimport.php b/include/uimport.php index 12e85c61ad..4fd91f80a7 100644 --- a/include/uimport.php +++ b/include/uimport.php @@ -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']);