diff options
author | MaZderMind | 2014-12-13 01:21:00 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-13 01:21:00 +0100 |
commit | bf9f1735abd0d650b3210711760783bf3e61124a (patch) | |
tree | 57b2a031ccc08436664fbcf161591c9dbbd2966e /lib/program.php | |
parent | 7cd0564c4336b578c78c55eb9a3d6fe7d4d12d02 (diff) |
set 31C3 fahrplan url
and remove unneeded caching
Diffstat (limited to 'lib/program.php')
-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; } |