summaryrefslogtreecommitdiff
path: root/lib/plugins/testing/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/testing/action.php')
-rw-r--r--lib/plugins/testing/action.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/plugins/testing/action.php b/lib/plugins/testing/action.php
new file mode 100644
index 000000000..22a670eee
--- /dev/null
+++ b/lib/plugins/testing/action.php
@@ -0,0 +1,13 @@
+<?php
+
+class action_plugin_testing extends DokuWiki_Action_Plugin {
+ function register(&$controller) {
+ $controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'dokuwikiStarted');
+ }
+
+ function dokuwikiStarted() {
+ $param = array();
+ trigger_event('TESTING_PLUGIN_INSTALLED', $param);
+ msg('hohoho');
+ }
+}