Project

General

Profile

Bug #59587 ยป apc-tags-patch.diff

Florian Schwaiger, 2014-06-15 17:58

View differences:

typo3/sysext/core/Classes/Cache/Backend/ApcBackend.php
// Update identifier-to-tag index
$existingTags = $this->findTagsByIdentifier($entryIdentifier);
if (array_search($entryIdentifier, $existingTags) === FALSE) {
apc_store($this->getIdentifierPrefix() . 'ident_' . $entryIdentifier, array_merge($existingTags, $tags));
$existingTags[] = $tag;
apc_store($this->getIdentifierPrefix() . 'ident_' . $entryIdentifier, $existingTags);
}
}
}
    (1-1/1)