fixes the check for postgresql

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-07-18 18:34:10 +02:00
parent ab9207827b
commit 8b1126e6d2
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View 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')
);
}