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 6206 to 6209

Definition

 
function delete_resource_custom_access_usergroups($ref)
        {
        
sql_query("delete from resource_custom_access where resource='" escape_check($ref) . "' and usergroup is not null");
        }

This article was last updated 20th May 2022 09:05 Europe/London time based on the source file dated 16th May 2022 11:00 Europe/London time.