aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-07-18 18:34:10 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-07-18 18:34:10 +0200
commit8b1126e6d2ed3dcdebab6c38458bf0c3a62ee731 (patch)
treed401508b2b19063f8f5750c089b59d50785d1090 /lib
parentab9207827b599c39242b76920175978a14def955 (diff)
downloadnextcloud-server-8b1126e6d2ed3dcdebab6c38458bf0c3a62ee731.tar.gz
nextcloud-server-8b1126e6d2ed3dcdebab6c38458bf0c3a62ee731.zip
fixes the check for postgresql
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/util.php4
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')
);
}