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 6671 to 6674

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 19th March 2024 08:05 Europe/London time based on the source file dated 11th March 2024 14:25 Europe/London time.