Passed
Pull Request — master (#188)
by Blizzz
100:59 queued 89:55
created

js/admin.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 7
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 7
rs 10
wmc 1
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 1
1
/**
2
 * @copyright Copyright (c) 2016 Morris Jobke <[email protected]>
3
 *
4
 * @license GNU AGPL version 3 or any later version
5
 *
6
 * This program is free software: you can redistribute it and/or modify
7
 * it under the terms of the GNU Affero General Public License as
8
 * published by the Free Software Foundation, either version 3 of the
9
 * License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU Affero General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU Affero General Public License
17
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 *
19
 */
20
21
(function() {
22
	OCA.WorkflowEngine.registerOperator({
0 ignored issues
show
Bug introduced by
The variable OCA seems to be never declared. If this is a global, consider adding a /** global: OCA */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
23
		id: 'OCA\\FilesAccessControl\\Operation',
24
		color: '#ca2b2b',
25
		operation: 'deny',
26
	})
27
})();
28