Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

delete_resource_access_key()

Parameters

ColumnTypeDefaultDescription
$resource
$access_key

Location

include/resource_functions.php lines 6045 to 6050

Definition

 
function delete_resource_access_key($resource,$access_key)
    {
    global 
$lang;
    
sql_query("delete from external_access_keys where access_key='$access_key' and resource='$resource'");
    
resource_log($resource,LOG_CODE_DELETED_ACCESS_KEY,'''',str_replace('%access_key'$access_key$lang['access_key_deleted']),'');
    }

This article was last updated 11th May 2021 11:05 Europe/London time based on the source file dated 11th May 2021 10:25 Europe/London time.