Skip to content

Commit

Permalink
some cleanup for the testing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Apr 26, 2012
1 parent f2ae886 commit 23684d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
10 changes: 8 additions & 2 deletions lib/plugins/testing/action.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?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 {
function register(&$controller) {
$controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'dokuwikiStarted');
Expand All @@ -8,6 +14,6 @@ function register(&$controller) {
function dokuwikiStarted() {
$param = array();
trigger_event('TESTING_PLUGIN_INSTALLED', $param);
msg('hohoho');
msg('The testing plugin is enabled and should be disabled.',-1);
}
}
6 changes: 6 additions & 0 deletions lib/plugins/testing/plugin.info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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.
5 changes: 0 additions & 5 deletions lib/plugins/testing/plugin.testing.txt

This file was deleted.

0 comments on commit 23684d4

Please sign in to comment.