diff options
Diffstat (limited to '')
-rw-r--r-- | lib/program.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/program.php b/lib/program.php index 0f038a8..5507442 100644 --- a/lib/program.php +++ b/lib/program.php @@ -2,10 +2,6 @@ function program() { - $cacheidx = __FILE__.':'.__FUNCTION__.':program:'.$GLOBALS['CONFIG']['SCHEDULE']; - if(function_exists('apc_fetch') && $program = apc_fetch($cacheidx)) - return $program; - $program = array(); $schedule = simplexml_load_file($GLOBALS['CONFIG']['SCHEDULE']); @@ -136,8 +132,5 @@ function program() } } - if(function_exists('apc_store')) - apc_store($cacheidx, $program, $GLOBALS['CONFIG']['SCHEDULE_CACHE_TTL']); - return $program; } |