Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

delete_resource_access_key()

Parameters

ColumnTypeDefaultDescription
$resource
$access_key

Location

include/resource_functions.php lines 6475 to 6480

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 21st May 2024 21:35 Europe/London time based on the source file dated 20th May 2024 14:55 Europe/London time.