Collections functions
General functions
Render functions
Theme permission functions
Resource functions

delete_resource_custom_access_usergroups()

Description

Delete all usergroup specific access to resource $ref

Parameters

ColumnTypeDefaultDescription
$ref int ID of resource

Location

include/resource_functions.php lines 6456 to 6459

Definition

 
function delete_resource_custom_access_usergroups($ref)
    {
    
ps_query("delete from resource_custom_access where resource=? and usergroup is not null",array("i",$ref));
    }

This article was last updated 4th February 2023 12:35 Europe/London time based on the source file dated 3rd February 2023 13:55 Europe/London time.