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:
authordiosmosis <benakamoorthi@fastmail.fm>2014-02-27 17:21:41 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-02-27 17:21:41 +0400
commit13a08d58897ba2921a037b309e75593c3fbbabcd (patch)
treed0ed9565efaa10a1c6d71d797ddbb319f5a37177 /plugins/DBStats/API.php
parent4ad2b987467fd57c0ef5a0bbaa8c7f66845d69e1 (diff)
Refs #4189, added expected screenshot for DBStats, added actual & mock data access class to DBStats, fix bug that occurs when deleting merged assets that do not exist and fix diffviewer generation regression (expected URL was incorrect).
Diffstat (limited to 'plugins/DBStats/API.php')
-rw-r--r--plugins/DBStats/API.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/DBStats/API.php b/plugins/DBStats/API.php
index 6da5604096..c90f327a7c 100644
--- a/plugins/DBStats/API.php
+++ b/plugins/DBStats/API.php
@@ -34,7 +34,9 @@ class API extends \Piwik\Plugin\API
*/
protected function __construct()
{
- $this->metadataProvider = new MySQLMetadataProvider();
+ if ($this->metadataProvider === null) {
+ $this->metadataProvider = new MySQLMetadataProvider();
+ }
}
/**