mirror of
https://github.com/nextcloud/server.git
synced 2026-07-13 11:51:34 -04:00
Merge pull request #20524 from owncloud/pgsql-version-check-error
assume pgsql >=9 if checking the version fails
This commit is contained in:
commit
2f89eef334
1 changed files with 3 additions and 6 deletions
|
|
@ -864,12 +864,9 @@ class OC_Util {
|
|||
}
|
||||
}
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
\OCP\Util::logException('core', $e);
|
||||
$errors[] = array(
|
||||
'error' => $l->t('Error occurred while checking PostgreSQL version'),
|
||||
'hint' => $l->t('Please make sure you have PostgreSQL >= 9 or'
|
||||
. ' check the logs for more information about the error')
|
||||
);
|
||||
$logger = \OC::$server->getLogger();
|
||||
$logger->warning('Error occurred while checking PostgreSQL version, assuming >= 9');
|
||||
$logger->logException($e);
|
||||
}
|
||||
}
|
||||
return $errors;
|
||||
|
|
|
|||
Loading…
Reference in a new issue