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 4th February 2023 11:35 Europe/London time based on the source file dated 19th January 2023 11:35 Europe/London time.