aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/ext
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extension/ext')
-rw-r--r--tests/extension/ext/foo/ext.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/extension/ext/foo/ext.php b/tests/extension/ext/foo/ext.php
index 2968a64a97..60b3ad1f16 100644
--- a/tests/extension/ext/foo/ext.php
+++ b/tests/extension/ext/foo/ext.php
@@ -2,4 +2,12 @@
class phpbb_ext_foo_ext extends phpbb_extension_base
{
+ static public $disabled;
+
+ public function disable_step($old_state)
+ {
+ self::$disabled = true;
+
+ return false;
+ }
}