diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-07-26 12:32:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-26 12:32:04 +0200 |
commit | 323f40a49374af02feca7d21da986b36a7d559e2 (patch) | |
tree | aa0d31eaffe3f7b05cf90acca1ba27bed4034de1 /lib/private | |
parent | b2341cdfd02b3e8ad90f8ae41320f708c3d54bb6 (diff) | |
parent | 8b1126e6d2ed3dcdebab6c38458bf0c3a62ee731 (diff) | |
download | nextcloud-server-323f40a49374af02feca7d21da986b36a7d559e2.tar.gz nextcloud-server-323f40a49374af02feca7d21da986b36a7d559e2.zip |
Merge pull request #16461 from nextcloud/fix/noid/pgsql-version
fixes the check for postgresql
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/legacy/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index 810f22fb9e5..32069053257 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -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') ); } |