Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 6751 to 6754

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 23rd July 2024 07:05 Europe/London time based on the source file dated 10th July 2024 11:30 Europe/London time.