Lots of little fixes for import, status should be imported mostly OK now.

A dded a migration_steps.txt that outlines the steps to migrate data.

Still todo:
* Extensions/addons, skipped now, will do next week
* Hide some unnecessary transactions
* Figure out policies for tasks and projects
* Test run over all tasks to see that they work
This commit is contained in:
2013-11-02 20:18:13 +01:00
committed by Sergey Sharybin
parent 41a820fdf0
commit 5abc5cf9f8
11 changed files with 974 additions and 800 deletions

View File

@@ -38,16 +38,16 @@ $musers = array();
for ($i = 0; $i < count ($user_names); $i++)
{
$muser = new MigrateUser();
$muser->id = $user_ids[$i];
$muser->password = $user_pws[$i];
$muser->name = $user_names[$i];
$muser->realname = trim($user_realnames[$i]);
$muser->email = $user_emails[$i];
$muser->date = $user_dates[$i];
$muser->timezone = $user_timezones[$i];
$muser = new MigrateUser();
$muser->id = $user_ids[$i];
$muser->password = $user_pws[$i];
$muser->name = $user_names[$i];
$muser->realname = trim($user_realnames[$i]);
$muser->email = $user_emails[$i];
$muser->date = $user_dates[$i];
$muser->timezone = $user_timezones[$i];
$musers[] = $muser;
$musers[] = $muser;
}
file_put_contents('dump/users', serialize($musers));