Function __global->handle_chatroom_pruning

Definitions

sources/chat_lobby.php

  • Prune timed-out private chatrooms.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$row array No No required parameter N/A N/A The row of the chatroom to possibly prune

Returns

  • Whether the room was pruned
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Prune timed-out private chatrooms.
 *
 * @param  array $row The row of the chatroom to possibly prune
 * @return boolean Whether the room was pruned
 */

function handle_chatroom_pruning(array $row) : bool