From 19a3223378923679493484987e6719c16b5f5997 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 29 Aug 2006 15:48:06 +0200 Subject: further update to global memory cache arrays - remove initialisation of caches in inc/pageutils.php - add global declaration to init.php to support init.php being included from within a function, e.g. unit testing ;-) - minor change to utf8_substr, remove non-essential brackets added as part of an earlier patch darcs-hash:20060829134806-9b6ab-ab15191344a83be664c412403dc84a24fa2253a2.gz --- inc/pageutils.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'inc/pageutils.php') diff --git a/inc/pageutils.php b/inc/pageutils.php index 758d34a9e..5fadd7a36 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -58,10 +58,6 @@ function getID($param='id',$clean=true){ return $id; } -// function result cache for cleanID -global $cache_cleanid; -$cache_cleanid = array(); - /** * Remove unwanted chars from ID * @@ -145,10 +141,6 @@ function noNS($id) { } } -// function result cache for wikiFN -global $cache_wikifn; -$cache_wikifn = array(); - /** * returns the full path to the datafile specified by ID and * optional revision -- cgit v1.2.3