1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Correct TTL for thumbnail cache.

This commit is contained in:
Thomas Tanghus 2013-04-04 17:02:21 +02:00
parent 9d313b1a1e
commit b135758715

View File

@ -612,7 +612,7 @@ class Contact extends VObject\VCard implements IPIMObject {
return false;
}
// Cache as base64 for around a month
\OC_Cache::set(self::THUMBNAIL_PREFIX . $key, strval($image), 3000); //3000000);
\OC_Cache::set(self::THUMBNAIL_PREFIX . $key, strval($image), 3000000);
\OCP\Util::writeLog('contacts', 'Caching ' . $key, \OCP\Util::DEBUG);
return \OC_Cache::get(self::THUMBNAIL_PREFIX . $key);
}