summaryrefslogtreecommitdiff
path: root/_testing/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to '_testing/bootstrap.php')
-rw-r--r--_testing/bootstrap.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/_testing/bootstrap.php b/_testing/bootstrap.php
index 5b828141f..6a4bae728 100644
--- a/_testing/bootstrap.php
+++ b/_testing/bootstrap.php
@@ -211,11 +211,6 @@ abstract class DokuWikiTest extends PHPUnit_Framework_TestCase {
// Helper class to execute a fake request
class TestRequest {
- function hook($hook, $step, $function) {
- global $EVENT_HANDLER;
- $null = null;
- $EVENT_HANDLER->register_hook($hook, $step, $null, $function);
- }
function execute() {
global $output_buffer;