function _update_status_cache_clear in Update Status 5.2
Invalidates specific cached data relating to update status.
Parameters
$cid: Optional cache ID of the record to clear from the private update status cache. If empty, all records will be cleared from the table.
Related topics
3 calls to _update_status_cache_clear()
- update_status_invalidate_cache in ./
update_status.module - Invalidates all cached data relating to update status.
- update_status_project_cache in ./
update_status.module - Retrieve data from {cache_update_status} or empty the cache when necessary.
- update_status_refresh in ./
update_status.module - Fetch project info via XML from a central server.
File
- ./
update_status.module, line 1889
Code
function _update_status_cache_clear($cid = NULL) {
if (empty($cid)) {
db_query("DELETE FROM {cache_update_status}");
}
else {
db_query("DELETE FROM {cache_update_status} WHERE cid = '%s'", $cid);
}
}