Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#3 | 1179558.patch | 440 bytes | swentel |
#1 | 1179558.patch | 440 bytes | swentel |
Comments
Comment #1
swentel CreditAttribution: swentel commented$object isn't passed in the function, so can indeed be deleted.
Comment #3
swentel CreditAttribution: swentel commentedWeird, patch got deleted somehow.
Comment #4
mojzis CreditAttribution: mojzis commentedworks fine, thanks :)
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted! Thanks!