Forget
Call cache_forget()
to delete a cached entry. It accepts the following parameters:
KEY
: The target variable to determine if it exists.OUTPUT
: (optional), Variable to assign delete status.
Example
cache_forget(
KEY run_cleanup
OUTPUT was_deleted
)
if(was_deleted)
# ...not shown...
endif ()