includes/cache.inc :
function ctools_cache_set($mechanism, $key, $object) {
return ctools_cache_operation($mechanism, $key, 'set', $object);
}
function ctools_cache_clear($mechanism, $key) {
return ctools_cache_operation($mechanism, $key, 'clear', $object);
}

shouldnt we call the operation function with the $object param here ?

thanks

CommentFileSizeAuthor
#3 1179558.patch440 bytesswentel
#1 1179558.patch440 bytesswentel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

swentel’s picture

Status: Active » Needs review
FileSize
440 bytes

$object isn't passed in the function, so can indeed be deleted.

swentel’s picture

FileSize
440 bytes

Weird, patch got deleted somehow.

mojzis’s picture

Status: Needs review » Reviewed & tested by the community

works fine, thanks :)

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed! Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.