aboutsummaryrefslogtreecommitdiff
path: root/lib/program.php
diff options
context:
space:
mode:
authorMaZderMind2014-12-13 01:21:00 +0100
committerMaZderMind2014-12-13 01:21:00 +0100
commitbf9f1735abd0d650b3210711760783bf3e61124a (patch)
tree57b2a031ccc08436664fbcf161591c9dbbd2966e /lib/program.php
parent7cd0564c4336b578c78c55eb9a3d6fe7d4d12d02 (diff)
set 31C3 fahrplan url
and remove unneeded caching
Diffstat (limited to 'lib/program.php')
-rw-r--r--lib/program.php7
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;
}