public function getRevision($ForcePrefix = null, $Force = false)
{
static $CacheRevision = false;
if ($CacheRevision === false || $Force) {
$ConfigPrefix = $ForcePrefix;
if (is_null($ConfigPrefix)) {
$ConfigPrefix = $this->getPrefix(null, false);
}
$CacheRevisionKey = "{$ConfigPrefix}.Revision";
$CacheRevision = $this->get($CacheRevisionKey, array(Gdn_Cache::FEATURE_NOPREFIX => true));
if ($CacheRevision === Gdn_Cache::CACHEOP_FAILURE) {
$CacheRevision = 1;
}
}
return $CacheRevision;
}