aboutsummaryrefslogtreecommitdiff
path: root/mod/test
diff options
context:
space:
mode:
Diffstat (limited to 'mod/test')
-rw-r--r--mod/test/index.php9
-rw-r--r--mod/test/start.php26
-rw-r--r--mod/test/views/default/testplugin/pageshell.php1
3 files changed, 0 insertions, 36 deletions
diff --git a/mod/test/index.php b/mod/test/index.php
deleted file mode 100644
index e502ae790..000000000
--- a/mod/test/index.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
- require_once("../../engine/start.php");
-
- global $CONFIG;
-
- var_export($CONFIG);
-
-?> \ No newline at end of file
diff --git a/mod/test/start.php b/mod/test/start.php
deleted file mode 100644
index 2eedf6431..000000000
--- a/mod/test/start.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
- /**
- * Test plugin
- *
- * These parameters are required for the event API, but we won't use them:
- *
- * @param unknown_type $event
- * @param unknown_type $object_type
- * @param unknown_type $object
- */
-
- function test_init($event, $object_type, $object = null) {
-
- global $CONFIG;
-
- // Let's add to the pageshell view.
- extend_view("pageshell", "testplugin/pageshell");
- set_view_location("testplugin/pageshell",$CONFIG->pluginspath . "test/views/");
-
- }
-
- // Make sure test_init is called on initialisation
- register_event_handler('init','system','test_init');
-
-?> \ No newline at end of file
diff --git a/mod/test/views/default/testplugin/pageshell.php b/mod/test/views/default/testplugin/pageshell.php
deleted file mode 100644
index 889fba661..000000000
--- a/mod/test/views/default/testplugin/pageshell.php
+++ /dev/null
@@ -1 +0,0 @@
-<p><i>Gosh! This view was added to!</i></p> \ No newline at end of file