Remove unused cache functions from token.core

With the move of functionality from token.core to token.persistence
the cache functions and import are no longer needed in token.core.

Change-Id: I97c96fff64b5c952155c4054df05b1b3ec3a83c5
This commit is contained in:
Morgan Fainberg 2014-09-07 19:35:47 -07:00
parent 70701f61d0
commit 4e9d72f2e9
1 changed files with 0 additions and 6 deletions

View File

@ -14,7 +14,6 @@
"""Main entry point into the Token service."""
from keystone.common import cache
from keystone import config
from keystone import exception
from keystone.i18n import _
@ -26,11 +25,6 @@ from keystone.token import provider
CONF = config.CONF
LOG = log.getLogger(__name__)
SHOULD_CACHE = cache.should_cache_fn('token')
# NOTE(blk-u): The config options are not available at import time.
EXPIRATION_TIME = lambda: CONF.token.cache_time
REVOCATION_CACHE_EXPIRATION_TIME = lambda: CONF.token.revocation_cache_time
@versionutils.deprecated(