Collections functions
Encryption functions
General 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 5783 to 5786

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 14th July 2020 05:35 Europe/London time based on the source file dated 13th July 2020 14:40 Europe/London time.