Pike v8.1 release 6

Method Cache.Storage.Base()->delete()


Method delete

mixed delete(string key, void|bool hard)

Description

Delete the entry specified by key from the cache (if present).

If hard is 1, some backends may force a destruct() on the deleted value.

Dependants (if present) are automatically deleted.

Returns

Returns the deleted entry.