diff options
author | Tobias Sarnowski <sarnowski@cosmocode.de> | 2012-04-18 09:43:29 +0200 |
---|---|---|
committer | Tobias Sarnowski <sarnowski@cosmocode.de> | 2012-04-18 09:43:29 +0200 |
commit | f693efbc01fe2c38ff68e30c9710d633a7ec5cee (patch) | |
tree | 368b12a3277dedf2ee7d3ffb3202059496b91d08 /lib/plugins/testing/action.php | |
parent | bc82a8a1dca9267446316d818b5729ec34bf0524 (diff) | |
download | rpg-f693efbc01fe2c38ff68e30c9710d633a7ec5cee.tar.gz rpg-f693efbc01fe2c38ff68e30c9710d633a7ec5cee.tar.bz2 |
added missing testing plugin with tests to test tests
Diffstat (limited to 'lib/plugins/testing/action.php')
-rw-r--r-- | lib/plugins/testing/action.php | 13 |
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'); + } +} |