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

revoke_all_users_flag_cascade_delete()

Parameters

ColumnTypeDefaultDescription
$tile

Location

include/dash_functions.php lines 217 to 221

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 22nd July 2024 21:35 Europe/London time based on the source file dated 4th July 2024 10:05 Europe/London time.