Skip to content
Snippets Groups Projects
Commit 23684d4a authored by Andreas Gohr's avatar Andreas Gohr
Browse files

some cleanup for the testing plugin

parent f2ae886a
No related branches found
No related tags found
No related merge requests found
<?php <?php
/**
* Plugin for testing the test system
*
* This plugin doesn't really do anything and should always be disabled
*
* @author Tobias Sarnowski <tobias@trustedco.de>
*/
class action_plugin_testing extends DokuWiki_Action_Plugin { class action_plugin_testing extends DokuWiki_Action_Plugin {
function register(&$controller) { function register(&$controller) {
$controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'dokuwikiStarted'); $controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'dokuwikiStarted');
...@@ -8,6 +14,6 @@ class action_plugin_testing extends DokuWiki_Action_Plugin { ...@@ -8,6 +14,6 @@ class action_plugin_testing extends DokuWiki_Action_Plugin {
function dokuwikiStarted() { function dokuwikiStarted() {
$param = array(); $param = array();
trigger_event('TESTING_PLUGIN_INSTALLED', $param); trigger_event('TESTING_PLUGIN_INSTALLED', $param);
msg('hohoho'); msg('The testing plugin is enabled and should be disabled.',-1);
} }
} }
base testing
author Tobias Sarnowski
email tobias@trustedco.de
date 2012-04-24
name Testing Plugin
desc Used to test the test framework. Should always be disabled.
author Tobias Sarnowski
email tobias@trustedco.de
date 2012-04-17
name Testing Plugin
desc Used to test the test framework.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment