places-setup: fix output

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/807/merge
Varun Patil 2023-10-10 04:56:56 -07:00
parent 7b647dc5c5
commit 08e75fb790
3 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -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");
}

View File

@ -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);