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

can_delete_collection()

Parameters

ColumnTypeDefaultDescription
$collection_data array
$userref
$k ""

Location

include/collections_functions.php lines 6769 to 6775

Definition

 
function can_delete_collection(array $collection_data$userref$k "")
    {
    return (
$k == '' 
            
&& (($userref == $collection_data['user']) || checkperm('h')) 
            && 
$collection_data['cant_delete'] == 0
        && 
$collection_data['type'] != COLLECTION_TYPE_REQUEST;
    }

This article was last updated 29th May 2024 15:35 Europe/London time based on the source file dated 29th May 2024 15:20 Europe/London time.