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:
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r--plugins/DBStats/DBStats.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php
index f75d4e8c95..47f83c0442 100644
--- a/plugins/DBStats/DBStats.php
+++ b/plugins/DBStats/DBStats.php
@@ -23,10 +23,16 @@ class DBStats extends \Piwik\Plugin
public function registerEvents()
{
return array(
- "TestingEnvironment.addHooks" => 'setupTestEnvironment'
+ "TestingEnvironment.addHooks" => 'setupTestEnvironment',
+ 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
);
}
+ public function getStylesheetFiles(&$stylesheets)
+ {
+ $stylesheets[] = 'plugins/DBStats/stylesheets/dbstats.less';
+ }
+
public function setupTestEnvironment($environment)
{
Piwik::addAction("MySQLMetadataProvider.createDao", function (&$dao) {