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/FileSynchronizer/FileSynchronizer.php')
-rw-r--r--plugins/FileSynchronizer/FileSynchronizer.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/FileSynchronizer/FileSynchronizer.php b/plugins/FileSynchronizer/FileSynchronizer.php
new file mode 100644
index 0000000000..3e585132f2
--- /dev/null
+++ b/plugins/FileSynchronizer/FileSynchronizer.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Copyright (C) Piwik PRO - All rights reserved.
+ *
+ * Using this code requires that you first get a license from Piwik PRO.
+ * Unauthorized copying of this file, via any medium is strictly prohibited.
+ *
+ * @link http://piwik.pro
+ */
+
+namespace Piwik\Plugins\FileSynchronizer;
+
+class FileSynchronizer extends \Piwik\Plugin
+{
+ public function getListHooksRegistered()
+ {
+ return array(
+ 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
+ );
+ }
+
+ public function getStylesheetFiles(&$stylesheets)
+ {
+ $stylesheets[] = "plugins/FileSynchronizer/stylesheets/status.less";
+ }
+
+ public function install()
+ {
+ $dao = new Dao();
+ $dao->install();
+ }
+
+ public function uninstall()
+ {
+ $dao = new Dao();
+ $dao->uninstall();
+ }
+
+}