Collections functions
General functions
Render functions
Theme permission functions
Resource functions

revoke_all_users_flag_cascade_delete()

Parameters

ColumnTypeDefaultDescription
$tile

Location

include/dash_functions.php lines 207 to 211

Definition

 
function revoke_all_users_flag_cascade_delete($tile)
    {
    
ps_query("UPDATE dash_tile SET `all_users`=0 WHERE `ref`= ?", ['i'$tile]);
    
ps_query("DELETE FROM `user_dash_tile` WHERE `dash_tile`= ?", ['i'$tile]);
    }

This article was last updated 2nd October 2022 16:05 Europe/London time based on the source file dated 27th September 2022 15:05 Europe/London time.