Completed
Pull Request — master (#90)
by Matt
01:28
created

ext::is_enableable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 *
4
 * Google Analytics extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2021 phpBB Limited <https://www.phpbb.com>
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace phpbb\googleanalytics;
12
13
use phpbb\extension\base;
14
15
class ext extends base
16
{
17
	/**
18
	 * {@inheritDoc}
19
	 */
20
	public function is_enableable()
21
	{
22
		return phpbb_version_compare(PHPBB_VERSION, '3.2.0', '>=');
23
	}
24
}
25