aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/ext/vendor5/foo/ext.php
blob: 729e9d2a3388e51e117e15ba8c2c3108b1c3e2c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace vendor5\foo;

class ext extends \phpbb\extension\base
{
	static public $enabled;

	public function is_enableable()
	{
		return array('Reason 1', 'Reason 2');
	}

	public function enable_step($old_state)
	{
		self::$enabled = true;
		return self::$enabled;
	}
}