I've written a couple plugins and realize that there is no function in the file /inc/class_datacache.php to delete a custom cache.
Please consider quickly adding one to next update.
$cache->delete("custom");
That would be best to deal with an uninstall.
Thank you.
Yeah this has been mentioned before I think. Rather annoying.
Uhm, delete query? No doubt you already globalise the $db object, why do an extra step when, more than likely, you have to delete other things too?
Also a delete option next to 'Rebuild Cache' in the cache manager.
(2012-01-12, 10:32 PM)Tomm M Wrote: [ -> ]Uhm, delete query? No doubt you already globalise the $db object, why do an extra step when, more than likely, you have to delete other things too?
But if you're running a cache mechanism will the deletion in cache table update the memcache/xcache?
Touché. Add it to the tracker.
* Matt blows a raspberry at Tomm
(2012-01-12, 10:48 PM)Tomm M Wrote: [ -> ]Touché. Add it to the tracker.
Yes that's my main concern is the caching mechanism not being properly deleted. Thanks for adding to tracker.
(2012-01-12, 10:48 PM)Tomm M Wrote: [ -> ]Touché. Add it to the tracker.
Awesome, I have been checking on this thread since it was posted. Nice to see resolve.