Collections functions
General functions
Render functions
Theme permission functions
Resource functions

delete_resource_access_key()

Parameters

ColumnTypeDefaultDescription
$resource
$access_key

Location

include/resource_functions.php lines 5900 to 5905

Definition

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

This article was last updated 3rd October 2022 12:05 Europe/London time based on the source file dated 30th September 2022 14:20 Europe/London time.