summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorhakan.sandell <hakan.sandell@mydata.se>2009-11-03 17:51:00 +0100
committerhakan.sandell <hakan.sandell@mydata.se>2009-11-03 17:51:00 +0100
commit1378fb56f6873b93fe002e8aed001e92857b5b5c (patch)
treee20d34370e7bce167b7822fe265c92a3fd1b4c7b /inc
parent25b97867c7d50ea2cbce4db0662c278b135db5a6 (diff)
downloadrpg-1378fb56f6873b93fe002e8aed001e92857b5b5c.tar.gz
rpg-1378fb56f6873b93fe002e8aed001e92857b5b5c.tar.bz2
inc/handler cleanup removed Doku_Handler_Section class
darcs-hash:20091103165100-9a5f4-b992cc4b716134f750ffffa678694b7ba05c541a.gz
Diffstat (limited to 'inc')
-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