]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixes the check for postgresql 16461/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 18 Jul 2019 16:34:10 +0000 (18:34 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 18 Jul 2019 16:34:10 +0000 (18:34 +0200)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
lib/private/legacy/util.php

index 810f22fb9e5888139972bb4a36e1fdb943dde512..3206905325728cc003dab547cc122a9e3590d6eb 100644 (file)
@@ -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')
                                                );
                                        }