diff options
-rw-r--r-- | tests/PHPUnit/proxy/index.php | 4 |
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(); |