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 6158 to 6161

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 3rd October 2022 13:05 Europe/London time based on the source file dated 30th September 2022 14:20 Europe/London time.