fvault_touch

Updates the timestamp on a key located within the vault

Syntax

stock fvault_touch(const vaultname[], const key[], const timestamp=-1) {

Usage

vaultname Vault name to look in
key Key to update timestamp (if it doesn't exist, a blank value will be set)
timestamp Unix Time to set for the key (-1 for current time)

Return

Returns — 2 on new entry, 1 on success, 0 on failure for the key having a permanent timestamp

Defined in fvault.inc at line 389 . This documentation was automatically generated from source.