mirror of https://github.com/nextcloud/photos
Update lib/Command/UpdateReverseGeocodingFilesCommand.php
Use plural in exception Signed-off-by: Louis <louis@chmn.me>
This commit is contained in:
parent
da806b3080
commit
83996a38db
|
@ -50,7 +50,7 @@ class UpdateReverseGeocodingFilesCommand extends Command {
|
|||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
try {
|
||||
if (!$this->rgcService->arePlacesEnabled()) {
|
||||
throw new \Exception('Place is disabled');
|
||||
throw new \Exception('Places is disabled');
|
||||
}
|
||||
|
||||
$this->rgcService->buildKDTree(true);
|
||||
|
|
Loading…
Reference in New Issue