Function __global->cns_delete_warning

Definitions

sources/cns_warnings2.php

  • Delete a formal warning.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$warning_id AUTO_LINK No No required parameter N/A N/A The ID of the formal warning we are deleting

Returns

  • The member ID the warning was for
  • Type: AUTO_LINK
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Delete a formal warning.
 *
 * @param  AUTO_LINK $warning_id The ID of the formal warning we are deleting
 * @return AUTO_LINK The member ID the warning was for
 */

function cns_delete_warning(int $warning_id) : int