Collections functions
General functions
Render functions
Theme permission functions
Resource functions

update_timestamp()

Parameters

ColumnTypeDefaultDescription
$resource

Location

include/resource_functions.php lines 6605 to 6612

Definition

 
function update_timestamp($resource)
    {
    if(!
is_numeric($resource))
        {
        return 
false;
        }
    
ps_query("UPDATE resource SET modified=NOW() WHERE ref=?",array("i",$resource));
    }

This article was last updated 2nd October 2022 16:35 Europe/London time based on the source file dated 30th September 2022 14:20 Europe/London time.