Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

delete_resource_access_key()

Parameters

ColumnTypeDefaultDescription
$resource
$access_key

Location

include/resource_functions.php lines 6646 to 6651

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 9th November 2024 16:05 Europe/London time based on the source file dated 7th November 2024 17:40 Europe/London time.