Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-23 11:05:13 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-23 11:05:13 +0300
commit2f89eef334bd445a7e046d845d5d5d1b3e4b6b8c (patch)
treeefe69761c31d562cb13d0782881050d301abc4d6 /lib/private
parent57c9aa3ca73745ddc1f0e7ec5a43a0af1b6d9644 (diff)
parentcc1db4ba87d407472a396766866abd35ecf79565 (diff)
Merge pull request #20524 from owncloud/pgsql-version-check-error
assume pgsql >=9 if checking the version fails
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/util.php9
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;