Account moving is a background activity

This commit is contained in:
Evan Prodromou
2011-01-17 17:31:56 -05:00
parent 64750a6455
commit fb681990d9
4 changed files with 205 additions and 112 deletions

View File

@@ -51,9 +51,9 @@ try {
$password = get_option_value('w', 'password');
$mover = new AccountMover($user, $remote, $password);
$qm = QueueManager::get();
$mover->move();
$qm->enqueue(array($user, $remote, $password), 'acctmove');
} catch (Exception $e) {
print $e->getMessage()."\n";