diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-23 09:05:13 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-23 09:05:13 +0100 |
commit | 2f89eef334bd445a7e046d845d5d5d1b3e4b6b8c (patch) | |
tree | efe69761c31d562cb13d0782881050d301abc4d6 /lib | |
parent | 57c9aa3ca73745ddc1f0e7ec5a43a0af1b6d9644 (diff) | |
parent | cc1db4ba87d407472a396766866abd35ecf79565 (diff) | |
download | nextcloud-server-2f89eef334bd445a7e046d845d5d5d1b3e4b6b8c.tar.gz nextcloud-server-2f89eef334bd445a7e046d845d5d5d1b3e4b6b8c.zip |
Merge pull request #20524 from owncloud/pgsql-version-check-error
assume pgsql >=9 if checking the version fails
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/util.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index e48cdd4d9fc..69f01c22be9 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -864,12 +864,9 @@ class OC_Util { } } } catch (\Doctrine\DBAL\DBALException $e) { - \OCP\Util::logException('core', $e); - $errors[] = array( - 'error' => $l->t('Error occurred while checking PostgreSQL version'), - 'hint' => $l->t('Please make sure you have PostgreSQL >= 9 or' - . ' check the logs for more information about the error') - ); + $logger = \OC::$server->getLogger(); + $logger->warning('Error occurred while checking PostgreSQL version, assuming >= 9'); + $logger->logException($e); } } return $errors; |