cache sitemap notice and user counts for 4h

This commit is contained in:
Evan Prodromou
2010-07-14 10:38:34 -04:00
parent 453a06fff4
commit d73feb82d8
3 changed files with 8 additions and 4 deletions

View File

@@ -593,7 +593,7 @@ class Memcached_DataObject extends Safe_DataObject
return $c->get($cacheKey);
}
static function cacheSet($keyPart, $value)
static function cacheSet($keyPart, $value, $flag=null, $expiry=null)
{
$c = self::memcache();
@@ -603,7 +603,7 @@ class Memcached_DataObject extends Safe_DataObject
$cacheKey = common_cache_key($keyPart);
return $c->set($cacheKey, $value);
return $c->set($cacheKey, $value, $flag, $expiry);
}
static function valueString($v)