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 6660 to 6665

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 14th December 2024 17:35 Europe/London time based on the source file dated 13th December 2024 14:45 Europe/London time.