Since the temporary backward compatibility layer in cache:
function cache($bin = 'cache') {
// Temporary backwards compatibiltiy layer, allow old style prefixed cache
// bin names to be passed as arguments.
$bin = str_replace('cache_', '', $bin);
// ...
will eventually be removed, we should go through core and remove the last instances of 'cache_FOO' and replace them with 'FOO'.
One place where these type of strings are still present is in hook_flush_caches() and its implementations.
I suggest that we switch from the old style naming to the new style cache bin naming.
Comments
Comment #1
bfroehle commentedComment #2
berdirChanges look good and are required for #1272706: Remove backwards compatibility layer for cache API. I verified that with this patch, the cache BC layer can be removed and the installer works, see the other issue for details.
Comment #3
dries commentedCommitted to 8.x. Thanks.