aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/ext/vendor3/foo/ext.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extension/ext/vendor3/foo/ext.php')
-rw-r--r--tests/extension/ext/vendor3/foo/ext.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/extension/ext/vendor3/foo/ext.php b/tests/extension/ext/vendor3/foo/ext.php
new file mode 100644
index 0000000000..b52649d921
--- /dev/null
+++ b/tests/extension/ext/vendor3/foo/ext.php
@@ -0,0 +1,20 @@
+<?php
+
+namespace vendor3\foo;
+
+class ext extends \phpbb\extension\base
+{
+ static public $enabled;
+
+ public function enable_step($old_state)
+ {
+ self::$enabled = true;
+
+ return self::$enabled;
+ }
+
+ public function is_enableable()
+ {
+ return false;
+ }
+}