diff options
author | Michael Hamann <michael@content-space.de> | 2012-07-28 10:49:13 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2012-07-28 11:34:46 +0200 |
commit | 92a5d12663ce0d2371a16a0b894f9796f020146c (patch) | |
tree | e8173988360586c0fd31926414769a4a9abe26f2 /inc | |
parent | 91626c7f91db0e2bcd183db41a224b53b1ed3cd2 (diff) | |
download | rpg-92a5d12663ce0d2371a16a0b894f9796f020146c.tar.gz rpg-92a5d12663ce0d2371a16a0b894f9796f020146c.tar.bz2 |
Remove unused variables
Diffstat (limited to 'inc')
-rw-r--r-- | inc/indexer.php | 4 | ||||
-rw-r--r-- | inc/parserutils.php | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/inc/indexer.php b/inc/indexer.php index d3a10f7ad..d8768d3ab 100644 --- a/inc/indexer.php +++ b/inc/indexer.php @@ -65,7 +65,6 @@ define('IDX_ASIAN', '(?:'.IDX_ASIAN1.'|'.IDX_ASIAN2.'|'.IDX_ASIAN3.')'); function idx_get_version(){ static $indexer_version = null; if ($indexer_version == null) { - global $conf; $version = INDEXER_VERSION; // DokuWiki version is included for the convenience of plugins @@ -192,7 +191,6 @@ class Doku_Indexer { * @author Tom N Harris <tnharris@whoopdedo.org> */ protected function getPageWords($text) { - global $conf; $tokens = $this->tokenizer($text); $tokens = array_count_values($tokens); // count the frequency of each token @@ -415,8 +413,6 @@ class Doku_Indexer { * @author Andreas Gohr <andi@splitbrain.org> */ public function tokenizer($text, $wc=false) { - global $conf; - $words = array(); $wc = ($wc) ? '' : '\*'; $stopwords =& idx_get_stopwords(); diff --git a/inc/parserutils.php b/inc/parserutils.php index 9f5473d47..f182b84c4 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -206,7 +206,6 @@ function p_cached_output($file, $format='xhtml', $id='') { * @author Andreas Gohr <andi@splitbrain.org> */ function p_cached_instructions($file,$cacheonly=false,$id='') { - global $conf; static $run = null; if(is_null($run)) $run = array(); |