summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/indexer.php4
-rw-r--r--inc/parserutils.php1
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();