diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-11-16 13:11:32 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-11-16 13:11:32 +0100 |
commit | cc1db4ba87d407472a396766866abd35ecf79565 (patch) | |
tree | 7320221c35256a4b44e9e9f486ef01988621b864 /lib | |
parent | f0af761fa6b908fca958e41e2c33c521581c9b2a (diff) | |
download | nextcloud-server-cc1db4ba87d407472a396766866abd35ecf79565.tar.gz nextcloud-server-cc1db4ba87d407472a396766866abd35ecf79565.zip |
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 4c151d63639..28546ab279a 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -858,12 +858,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; |