places-setup: fix output
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/807/merge
parent
7b647dc5c5
commit
08e75fb790
|
@ -82,7 +82,7 @@ class PlacesSetup extends Command
|
|||
// Recalculate all places
|
||||
$this->places->recalculateAll();
|
||||
|
||||
$this->output->writeln('Done');
|
||||
$this->output->writeln('Places set up successfully');
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -208,7 +208,7 @@ class AdminController extends GenericApiController
|
|||
$places->importPlanet($datafile);
|
||||
$places->recalculateAll();
|
||||
|
||||
$out->setOutput("Done.\n");
|
||||
$out->setOutput("Places set up successfully.\n");
|
||||
} catch (\Exception $e) {
|
||||
$out->setOutput('Failed: '.$e->getMessage()."\n");
|
||||
}
|
||||
|
|
|
@ -369,7 +369,6 @@ class Places
|
|||
|
||||
// Mark success
|
||||
echo "Planet database imported successfully!\n";
|
||||
echo "You should re-index your library now.\n";
|
||||
flush();
|
||||
$this->config->setSystemValue('memories.gis_type', $gis);
|
||||
|
||||
|
|
Loading…
Reference in New Issue