diff options
Diffstat (limited to 'plugins/FileSynchronizer/FileSynchronizer.php')
-rw-r--r-- | plugins/FileSynchronizer/FileSynchronizer.php | 39 |
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(); + } + +} |