Function __global->member_has_historic_comcode_admin_privileges
Definitions
sources/site2.php
- Find if a member had Comcode admin privileges before a point in time, for avoiding case of lost privileges causing a de-cached page to break.Assumes it is okay to retroactively apply permissions to content from before they did, as you wouldn't have left dangerous content around or given a member privileges after they posted it.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$member_id | MEMBER | required parameter | N/A | N/A | The member ID |
$timestamp_of_content | TIME | required parameter | N/A | N/A | Timestamp of content to check point in time for |
Return
- Whether they did
- Type: boolean
- Set: N/A
- Range: N/A