summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-04-24 22:21:05 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-04-27 01:11:36 +0200
commit23684d4a1920ae8e92fda68725e49035614f3d8a (patch)
tree067451816346ac921a065bdce508fa64df892be6 /lib
parentf2ae886abc5bb17b10e0313506b7bdf1f84f5726 (diff)
downloadrpg-23684d4a1920ae8e92fda68725e49035614f3d8a.tar.gz
rpg-23684d4a1920ae8e92fda68725e49035614f3d8a.tar.bz2
some cleanup for the testing plugin
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/testing/action.php10
-rw-r--r--lib/plugins/testing/plugin.info.txt6
-rw-r--r--lib/plugins/testing/plugin.testing.txt5
3 files changed, 14 insertions, 7 deletions
diff --git a/lib/plugins/testing/action.php b/lib/plugins/testing/action.php
index 22a670eee..e829847b6 100644
--- a/lib/plugins/testing/action.php
+++ b/lib/plugins/testing/action.php
@@ -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');
@@ -8,6 +14,6 @@ class action_plugin_testing extends DokuWiki_Action_Plugin {
function dokuwikiStarted() {
$param = array();
trigger_event('TESTING_PLUGIN_INSTALLED', $param);
- msg('hohoho');
+ msg('The testing plugin is enabled and should be disabled.',-1);
}
}
diff --git a/lib/plugins/testing/plugin.info.txt b/lib/plugins/testing/plugin.info.txt
new file mode 100644
index 000000000..a514d7774
--- /dev/null
+++ b/lib/plugins/testing/plugin.info.txt
@@ -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.
diff --git a/lib/plugins/testing/plugin.testing.txt b/lib/plugins/testing/plugin.testing.txt
deleted file mode 100644
index 840a46d1e..000000000
--- a/lib/plugins/testing/plugin.testing.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-author Tobias Sarnowski
-email tobias@trustedco.de
-date 2012-04-17
-name Testing Plugin
-desc Used to test the test framework.