File tree 2 files changed +8
-9
lines changed
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : setup lint phpcs
2
2
3
3
lint :
4
- phplint application/ library/
4
+ phplint application/ library/ configuration.php
5
5
phpcs :
6
- phpcs application/ library/
6
+ phpcs application/ library/ configuration.php
Original file line number Diff line number Diff line change 17
17
'url ' => 'config '
18
18
));
19
19
20
- if ($ auth ->hasPermission ('grafana/graphconfig ' ))
21
- {
22
- $ section = $ this ->menuSection ('Grafana Graphs ' )->setUrl ('grafana/graph ' )->setPriority (999 )->setIcon ('chart-area ' );
20
+ if ($ auth ->hasPermission ('grafana/graphconfig ' )) {
21
+ $ section = $ this ->menuSection ('Grafana Graphs ' )->setUrl ('grafana/graph ' )->setPriority (999 )->setIcon ('chart-area ' );
23
22
24
- $ section ->add (N_ ('Graphs Configuration ' ))->setUrl ('grafana/graph ' )->setPriority (30 );
25
- $ section ->add (N_ ('Module Configuration ' ))->setUrl ('grafana/config ' )->setPriority (40 );
23
+ $ section ->add (N_ ('Graphs Configuration ' ))->setUrl ('grafana/graph ' )->setPriority (30 );
24
+ $ section ->add (N_ ('Module Configuration ' ))->setUrl ('grafana/config ' )->setPriority (40 );
26
25
27
- $ this ->provideConfigTab ('graph ' , array (
26
+ $ this ->provideConfigTab ('graph ' , array (
28
27
'title ' => 'Graphs ' ,
29
28
'label ' => 'Graphs ' ,
30
29
'url ' => 'graph '
31
- ));
30
+ ));
32
31
}
33
32
34
33
$ this ->provideJsFile ('behavior/iframe.js ' );
You can’t perform that action at this time.
0 commit comments