aboutsummaryrefslogtreecommitdiff
path: root/mod/test/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/test/start.php')
-rw-r--r--mod/test/start.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/mod/test/start.php b/mod/test/start.php
deleted file mode 100644
index f8247c6b5..000000000
--- a/mod/test/start.php
+++ /dev/null
@@ -1,28 +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;
-
- // Test menu item
- add_menu("Test plugin",$CONFIG->wwwroot . "mod/test/",array(
- menu_item("Main test plugin page",$CONFIG->wwwroot."mod/test/"),
- ));
-
- }
-
- // Make sure test_init is called on initialisation
- register_event_handler('init','system','test_init');
- global $CONFIG;
- register_action('banana',true,"mod/test/banana.php");
-?> \ No newline at end of file