Function __global->decache_private_topics

Definitions

sources/caches.php

  • Decache any notification areas relating to private topics.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id ?MEMBER No No Null N/A N/A Member to only decache for (null: decache for all members, due to a mass-topic-operation)

Preview

Code (PHP)

/**
 * Decache any notification areas relating to private topics.
 *
 * @param  ?MEMBER $member_id Member to only decache for (null: decache for all members, due to a mass-topic-operation)
 */

function decache_private_topics(?int $member_id = null)