1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12009] Move valid extensions in tests to correct dir structure.

PHPBB3-12009
This commit is contained in:
Cesar G
2013-12-12 04:29:48 -08:00
parent 4d65727acc
commit 31234b26d8
27 changed files with 145 additions and 97 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace vendor3\bar;
class ext extends \phpbb\extension\base
{
static public $state;
public function enable_step($old_state)
{
// run 4 steps, then quit
if ($old_state === 4)
{
return false;
}
if ($old_state === false)
{
$old_state = 0;
}
self::$state = ++$old_state;
return self::$state;
}
}