summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/parser/handler.php39
1 files changed, 0 insertions, 39 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 8ba3d1be1..c9a4fd6d9 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -1408,45 +1408,6 @@ class Doku_Handler_Table {
}
}
-//------------------------------------------------------------------------
-class Doku_Handler_Section {
-
- function process($calls) {
-
- $sectionCalls = array();
- $inSection = false;
-
- foreach ( $calls as $call ) {
-
- if ( $call[0] == 'header' ) {
-
- if ( $inSection ) {
- $sectionCalls[] = array('section_close',array(), $call[2]);
- }
-
- $sectionCalls[] = $call;
- $sectionCalls[] = array('section_open',array($call[1][1]), $call[2]);
- $inSection = true;
-
- } else {
-
- if ($call[0] == 'section_open' ) {
- $inSection = true;
- } else if ($call[0] == 'section_open' ) {
- $inSection = false;
- }
- $sectionCalls[] = $call;
- }
- }
-
- if ( $inSection ) {
- $sectionCalls[] = array('section_close',array(), $call[2]);
- }
-
- return $sectionCalls;
- }
-
-}
/**
* Handler for paragraphs