Comment out old interface functions

namespaces
Svein-Tore Griff With 2014-11-02 13:38:56 +01:00
parent 729a38cd72
commit c1f403af3f
1 changed files with 2 additions and 2 deletions

View File

@ -2163,7 +2163,7 @@ class H5PCore {
*/
public function getLibrariesMetadata() {
// Fetch from cache:
$metadata = $this->h5pF->cacheGet('libraries','metadata');
//$metadata = $this->h5pF->cacheGet('libraries','metadata');
// If not available in cache, or older than a week => refetch!
if ($metadata === NULL || $metadata->lastTimeFetched < (time() - self::SECONDS_IN_WEEK)) {
@ -2174,7 +2174,7 @@ class H5PCore {
$metadata->json = ($json === FALSE ? NULL : json_decode($json));
$metadata->lastTimeFetched = time();
$this->h5pF->cacheSet('libraries','metadata', $metadata);
//$this->h5pF->cacheSet('libraries','metadata', $metadata);
}
return $metadata->json;