1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-18 23:51:49 +02:00
Files
php-phpbb/tests/extension/ext/vendor5/foo/ext.php
2019-09-30 20:25:54 +02:00

20 lines
278 B
PHP

<?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;
}
}