aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/ext/vendor5/foo/ext.php
blob: 6bf03f001cbf413f49c98fe8b2a5135873a16b84 (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;
	}
}