Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 6146 to 6149

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 28th November 2020 23:05 Europe/London time based on the source file dated 27th November 2020 14:50 Europe/London time.