Merge pull request #16461 from nextcloud/fix/noid/pgsql-version
fixes the check for postgresql
This commit is contained in:
commit
323f40a493
|
@ -978,9 +978,9 @@ class OC_Util {
|
|||
$data = $result->fetchRow();
|
||||
if (isset($data['server_version'])) {
|
||||
$version = $data['server_version'];
|
||||
if (version_compare($version, '9.0.0', '<')) {
|
||||
if (version_compare($version, '9.5.0', '<')) {
|
||||
$errors[] = array(
|
||||
'error' => $l->t('PostgreSQL >= 9 required'),
|
||||
'error' => $l->t('PostgreSQL >= 9.5 required'),
|
||||
'hint' => $l->t('Please upgrade your database version')
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue