Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FileSynchronizer.php « FileSynchronizer « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e585132f2f0cb79cf8b2ff8feafdd25ce27977d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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();
    }

}