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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/PHPUnit/proxy/index.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/PHPUnit/proxy/index.php b/tests/PHPUnit/proxy/index.php
index 527fd76833..4494ca0e0f 100644
--- a/tests/PHPUnit/proxy/index.php
+++ b/tests/PHPUnit/proxy/index.php
@@ -8,10 +8,8 @@ require realpath(dirname(__FILE__)) . "/includes.php";
Piwik_TestingEnvironment::addHooks();
-try {
+if (\Piwik\DbHelper::isInstalled()) {
\Piwik\ViewDataTable\Manager::clearAllViewDataTableParameters();
-} catch(Exception $e) {
- // eg. Piwik not installed yet
}
\Piwik\Profiler::setupProfilerXHProf();